sample
11-30-2002, 09:17 PM
Hi,
I've just started to use DSM, and would like to know if adding the following simple commands in my vhosts.conf file would / would not break the control panel config.
CustomLog /usr/local/apache/domlogs/access_log combined
CustomLog "|/usr/local/sbin/cronolog /usr/local/apache/domlogs/%Y/%Y-%m-%d-access_log" combined
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(a|b|c)[a-z].* [NC]
RewriteRule ^/(a|b|c)[/]*(.*)$ /cgi-bin/$1.cgi?%{QUERY_STRING}&xx=$2 [NC]
Basically, I wish to use cronolog (www.cronolog.org) to rotate my log files - they're really great ;) - and I'm also using mod_rewrite. Methinks it shouldn't break, since the customlog is a external pipe and the rewriteengine only mods URLs..
Cheers
I've just started to use DSM, and would like to know if adding the following simple commands in my vhosts.conf file would / would not break the control panel config.
CustomLog /usr/local/apache/domlogs/access_log combined
CustomLog "|/usr/local/sbin/cronolog /usr/local/apache/domlogs/%Y/%Y-%m-%d-access_log" combined
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(a|b|c)[a-z].* [NC]
RewriteRule ^/(a|b|c)[/]*(.*)$ /cgi-bin/$1.cgi?%{QUERY_STRING}&xx=$2 [NC]
Basically, I wish to use cronolog (www.cronolog.org) to rotate my log files - they're really great ;) - and I'm also using mod_rewrite. Methinks it shouldn't break, since the customlog is a external pipe and the rewriteengine only mods URLs..
Cheers