|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Sep 2003
Location: Chicago
Posts: 468
|
PHP question
Can I map .htm or .html pages to parse php code????
it would be a .conf issue right??? I'm doing something for a friend on their "virtual account" and they need to have a bunch of pages renamed .php to achieve what they want....and then of course the links need to be chased down..... arghhhhhh
__________________
I have no sig...sigh |
|
|
|
|
|
#2 |
|
Sofa King Band
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
|
Yup, it's possible... just add .htm and .html to your php line in your http.conf file.
AddType application/x-httpd-php .htm .html .php |
|
|
|
|
|
#3 |
|
Disruptive Innovator
Industry Role:
Join Date: Sep 2003
Location: Vegas
Posts: 4,230
|
I think you can add that line to your htaccess also
__________________
C:\Code\ C:\Code\Run\ |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Sep 2003
Location: Chicago
Posts: 468
|
That's what I figured.....
can't help this guy out wth his stuff but now I know...
__________________
I have no sig...sigh |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Sep 2003
Location: Chicago
Posts: 468
|
Is adding something to htaccess an option???
For the htaccess route would work I'd have to place a htaccess file in the "non-members" public area right??
__________________
I have no sig...sigh |
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
|
hey lester,
That is an option just look for the AllowOverride directive in httpd.conf and set it accordingly. AllowOverride controls what directives may be placed in .htaccess files. It can be 'All', 'None', or any combination of the keywords. good luck
__________________
subarus. |
|
|
|
|
|
#7 | |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Add this to your .htaccess
Quote:
|
|
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Sep 2003
Location: Chicago
Posts: 468
|
Thanks for the tips....................
__________________
I have no sig...sigh |
|
|
|