View Full Version : [solved] 4.0.18: .htaccess / PHP Issue
JulesR
12-11-2010, 09:52 PM
Upgraded to 4.0.18 and now after a period of approximately an hour (possibly irrelevant), the server begins to refuse to parse/read .htaccess files.
As an example, Wordpress blogs with SEO enabled URL's throw up a 404 error message.
Anyone else seeing this behavior?
mistwang
12-12-2010, 01:29 PM
We need more details in order for us to investigate. It will be a lot easier if it could be reliably reproduced.
There is no code changes in 4.0.18 directly related to .htaccess file handling.
JulesR
12-12-2010, 01:32 PM
Well what information do you need and how do I provide this to you?
Since I can reproduce this reliably something has obviously changed. Mod_rewrite implementation perhaps?
mistwang
12-12-2010, 01:37 PM
Please send us the detail on how to reproduce the problem along with temp root access to the server.
JulesR
12-12-2010, 01:46 PM
I told you how to reproduce it....
I'll only grant temp root access to the server via MSN or some other means, since it's a production server and I can't have the downtime whilst I wait for you guys to login and investigate. It'd need to be handled in realtime.
JulesR
01-04-2011, 05:10 PM
Thanks for ignoring this issue. Not impressed with the level of support regarding this at all. I'm bringing this one up again because it's happening with your latest release of 4.0.18. PLEASE do something about this, as it's clearly a bug in your software.
Debug log information:
2011-01-04 20:04:03.100 [NOTICE] [xx.xx.xx.xx:3182-0#APVH_domain.com] Content len: 0, Request line: 'GET /about/ HTTP/1.1'
2011-01-04 20:04:03.100 [DEBUG] [xx.xx.xx.xx:3182-0#APVH_domain.com] Find context with URI: [/], location: [/home/path/public_html/domain.com/]
2011-01-04 20:04:03.100 [DEBUG] [HTAccess] Updating configuration file [/home/path/public_html/domain.com/.htaccess]
2011-01-04 20:04:03.100 [DEBUG] [HTAccess] No change in configuration file [/home/path/public_html/domain.com/.htaccess].
2011-01-04 20:04:03.100 [DEBUG] [xx.xx.xx.xx:3182-0#APVH_domain.com] Find .htaccess context with URI: [/], location: [/home/path/public_html/domain.com/]
2011-01-04 20:04:03.100 [DEBUG] [xx.xx.xx.xx:3182-0#APVH_domain.com] [REWRITE] Rewrite engine is not enabled for context '/'
2011-01-04 20:04:03.100 [INFO] [xx.xx.xx.xx:3182-0#APVH_domain.com] File not found [/home/path/public_html/domain.com/about/]
So, rewrites aren't working. What is "Rewrite engine is not enabled for context '/'"?
foliovision
03-12-2011, 10:11 AM
Hello,
are there any news on this issue. We just installed LSWS on a barebone server (without cpanel) and .htaccess is not being parsed. Are there any known issues or options during install which should be avoided/updated? We did the same install on a different server where it works straight out of the box.
Best regards,
Peter
NiteWave
03-12-2011, 10:24 PM
JulesR's issue has been fixed around Jan 27, with the 4.0.19 release.
"caught the bug with debug logging enabled,related to a new feature back ported from 4.1RC release"
your issue looks different. if .htaccess not being parsed from the begining, it should be lot easier than "after about 1 hour, .htaccess not working".
please enable rewrite log and test on a simplest rewrite rule, to trouble shoot it.
will mark this thread as "solved" if no surprise within 24 hours.