![]() |
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 |
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 |
I think you can add that line to your htaccess also
|
That's what I figured.....
can't help this guy out wth his stuff but now I know... |
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?? |
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 |
Add this to your .htaccess
Quote:
|
Thanks for the tips....................
|
| All times are GMT -7. The time now is 06:02 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123