Which Directory Service do you use for your network?
None NIS LDAP LDAP + Kerberos Samba Active Directory eDirectory other ( 793 votes ~ 15 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article Wildcard hosting with Apache and Bind:
#3 Re: Wildcard hosting with Apache and Bind Posted by TokenGoth (193.195.xx.xx) on Thu 23 Feb 2006 at 12:27 I use this in my apache (1.3) config: RewriteCond %{REQUEST_URI} !^/mailman/.* RewriteCond %{REQUEST_URI} !^/pipermail/.* RewriteCond %{REQUEST_URI} !^/cgi-bin/.* RewriteCond %{REQUEST_URI} !^/icons/.* RewriteCond %{REQUEST_URI} !^/cacti/.* RewriteRule ^(.+) %{HTTP_HOST}$1 [C] rewriteRule ^([^.]+)\.([^/]+)\/(.*)$ /var/www/web/$2/$1/$3 [L] Which maps http://one.two.three/four to /var/www/web/two.three/one/four And I've got the following log file directives: LogFormat "%{Host}i %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" " vfull CustomLog "|/sbin/vlogger -s access.log -u www-data -g www-data -t %Y%m%d-acces s.log /var/log/apache" vfull That complement that using vlogger (http://n0rp.chemlab.org/vlogger/) Coupled with a script to autogenerate webalizer log files for selected hosts.
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account