Hi,
We're having an issue with LSWS 4.2.1 using Apache-style configuration directives that is often affecting at least one virtual host (possibly many more, but only one report).
The virtual host contains an .htaccess file with a few basic mod_rewrite directives:
These rewrite rules work fine normally. However, about twice per day (at seemingly random times), daily, the rewrite rule begins failing for every request. It is as if it has been removed from the .htaccess file entirely. Approximately 15-25 minutes later, the rewrite rule begins functioning again without *any changes* made to the web server, virtual host, account, or .htaccess file.
Here is an annotated portion of the error_log file showing this occurring, which has been edited for brevity and privacy:
The specific .htaccess file that this is happening with is: /home/REDACTED/public_html/REDACTED/jobs/.htaccess
This is the only mod_rewrite in use for the directory or virtual host - There are none in the parent directories.
I've analyzed the LSWS restart logs and I do not see any indication that this is being triggered by any sort of {graceful, hard} restart of the LiteSpeed service.
LiteSpeed Web Server 4.2.1 is in use, which is the most recent version as far as I can see.
Please advise!
We're having an issue with LSWS 4.2.1 using Apache-style configuration directives that is often affecting at least one virtual host (possibly many more, but only one report).
The virtual host contains an .htaccess file with a few basic mod_rewrite directives:
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
ErrorDocument 404 /page-unavailable/
Here is an annotated portion of the error_log file showing this occurring, which has been edited for brevity and privacy:
Code:
2013-01-13 20:29:01.032 [NOTICE] [APVH_REDACTED_Suphp:] stop worker processes
2013-01-13 20:42:05.410 [INFO] [HTAccess] Updating configuration from [/home/REDACTED/public_html/REDACTED/jobs/.htaccess]
[issue appears]
2013-01-13 20:42:10.611 [INFO] [184.19.15.77:52668-0#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/rss/all/]
2013-01-13 20:42:10.611 [INFO] [184.19.15.77:52668-0#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/404.shtml]
2013-01-13 20:42:19.041 [NOTICE] [APVH_REDACTED_Suphp:] stop worker processes
2013-01-13 20:51:32.324 [INFO] [72.204.6.189:50545-0#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/post/]
2013-01-13 20:51:32.324 [INFO] [72.204.6.189:50545-0#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/404.shtml]
[.. snip lots of 404 error lines ..]
2013-01-13 21:00:08.968 [INFO] [72.204.6.189:50596-11#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/404.shtml]
2013-01-13 21:06:32.460 [INFO] [66.249.73.41:48685-0#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/search/subscribers|]
2013-01-13 21:06:32.460 [INFO] [66.249.73.41:48685-0#APVH_REDACTED] File not found [/home/REDACTED/public_html/REDACTED/jobs/404.shtml]
2013-01-13 21:09:25.712 [INFO] [HTAccess] Updating configuration from [/home/REDACTED/public_html/REDACTED/jobs/.htaccess]
[issue disappears]
2013-01-13 21:09:39.048 [NOTICE] [APVH_REDACTED_Suphp:] stop worker processes
2013-01-13 21:09:59.036 [NOTICE] [APVH_REDACTED_Suphp:] stop worker processes
2013-01-13 21:30:07.959 [INFO] [HTAccess] Updating configuration from [/home/REDACTED/public_html/REDACTED/jobs/.htaccess]
2013-01-13 21:32:41.057 [NOTICE] [APVH_REDACTED_Suphp:] stop worker processes
2013-01-13 21:33:11.049 [NOTICE] [APVH_REDACTED_Suphp:] stop worker processes
This is the only mod_rewrite in use for the directory or virtual host - There are none in the parent directories.
I've analyzed the LSWS restart logs and I do not see any indication that this is being triggered by any sort of {graceful, hard} restart of the LiteSpeed service.
LiteSpeed Web Server 4.2.1 is in use, which is the most recent version as far as I can see.
Please advise!
Last edited: