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..
htaccess not working in sub directories, why?
Collapse
X
-
if you have set up /path/site to php4
/path/site/subfolder will also be php4Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!
PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
-
Comment
-
-
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 thatComment
-
We had a problem with a promo tool that uses rewrites in .htaccess subdirectories.
Maybe, this might help ...
Code:Note: There may be a long file like httpd.conf that may contain your domain's configuration. Edit your domain configuration; pico /etc/apache2/sites-available/doc_root Set the Overide for your domain configuration Paste with your path; <Directory "/home/user_name/www/public_html/domain"> AllowOverride All </Directory> Then; Cntl+X Y enterkey Then restart the Apache server
This was part of the manual fix instructions I did.Comment
-
Comment
-
thanks, that worked!We had a problem with a promo tool that uses rewrites in .htaccess subdirectories.
Maybe, this might help ...
Code:Note: There may be a long file like httpd.conf that may contain your domain's configuration. Edit your domain configuration; pico /etc/apache2/sites-available/doc_root Set the Overide for your domain configuration Paste with your path; <Directory "/home/user_name/www/public_html/domain"> AllowOverride All </Directory> Then; Cntl+X Y enterkey Then restart the Apache server
This was part of the manual fix instructions I did.Comment
-
-
php4 is pretty newSince 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

Only Fans Data
20+ Custom Adult Themes and PluginsComment

Comment