Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in Other server side languages/issues only
Search
Advanced Search
Forum
Groups
Today’s Posts
Calendar
Forum
Server side development
Other server side languages/issues
Announcement
Collapse
No announcement yet.
.htaccess forcing files to be parsed as php
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Thejavaman1
New to the CF scene
Join Date:
Jun 2002
Posts:
100
Share
Tweet
#1
.htaccess forcing files to be parsed as php
Jun 28, 2002, 02:07 PM
well I ate my .htaccess file on acident
and can't remeber how to force a file to be parsed as php.
Projects I work on:
http://www.devnet.info
,
http://www.mybboard.com
Forums I visit:
http://www.nemesis.thecoldshop.com
,
http://www.the-pit.net
,
http://www.hardforum.com
,
http://www.genmay.com
Feyd
New to the CF scene
Join Date:
May 2002
Posts:
418
Share
Tweet
#2
Jun 28, 2002, 04:38 PM
easiest way:
<Files page.javaman>
ForceType application/x-httpd-php
</Files>
Also an easy way to make pages look like directories:
file : fakedir (no extension)
<Files fakedir>
ForceType application/x-httpd-php
</Files>
Or get a few pages with your own custom extension:
AddType application/x-httpd-php .tjm
Moderator,
Perl/CGI Forum
shadowstorm.net
- subvert society
Comment
Post
Cancel
Thejavaman1
New to the CF scene
Join Date:
Jun 2002
Posts:
100
Share
Tweet
#3
Jun 28, 2002, 06:05 PM
Thanks, I found out abou thr forcetype by some random guessing...
Projects I work on:
http://www.devnet.info
,
http://www.mybboard.com
Forums I visit:
http://www.nemesis.thecoldshop.com
,
http://www.the-pit.net
,
http://www.hardforum.com
,
http://www.genmay.com
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment