![]() |
htaccess not working in sub directories, why?
I have a site on my server that required php4 (uses custom CMS), so the webroot is set to php4 for it. By the default my server is php5.2 and when trying to run a php5 script under a sub directory it does not process. I can't seem to get php4 and php5 scripts to run under the same webroot in separate sub directories. Is there something in my httpd.conf that I need to change? i'm running apache2.2..
|
if you have set up /path/site to php4
/path/site/subfolder will also be php4 |
Quote:
|
Talk to your host about it.. I doubt you can solve it in an htaccess file.
|
As a general note: the first .htaccess has priority ...
|
I think it has something to do with the AllowOverride setting in httpd.conf but I'm only seeing Satisfy All under <FileMatch "^\.ht"> and when adding AllowOverride All I receive a warning. Apache 2.2 split up the httpd.conf settings so I'm not sure which include holds the correct settings. From doing some research if .htaccess aren't processing in sub directories then AllowOverride is set to None and needs to be set to All.
was trying to avoid having to submit a ticket to my datacenter but i guess i'll do that |
Maybe it'd be easier to fix the issues in the CMS to work with PHP5...
Can't wait for 6. |
We had a problem with a promo tool that uses rewrites in .htaccess subdirectories. Code:
Note: There may be a long file like httpd.conf that may contain your domain's configuration. This was part of the manual fix instructions I did. |
Quote:
|
Quote:
|
Quote:
|
cool :thumbsup
|
php4 is pretty new
|
All times are GMT -7. The time now is 08:22 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123