CVS: ispman/install-data/examples logs.vhosts.conf,1.2,1.3
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/install-data/examples In directory sc8-pr-cvs1:/tmp/cvs-serv23200/install-data/examples Modified Files: logs.vhosts.conf Log Message: rollback of HEAD to REL_1_0 versions former HEAD development will continue in "experimental-branch" and merged back here (more info on ispman-developer maillist and upcoming README.cvs in HEAD) Index: logs.vhosts.conf =================================================================== RCS file: /cvsroot/ispman/ispman/install-data/examples/logs.vhosts.conf,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** logs.vhosts.conf 24 May 2002 15:49:54 -0000 1.2 --- logs.vhosts.conf 4 Jan 2004 18:56:13 -0000 1.3 *************** *** 2,26 **** # http://logs.their.domain # to access their raw and processed log files. - # You will also need mod_auth_ldap - # (http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html) - # to get it to work. ! <VirtualHost my.virtual.server.ip> ! ServerName logs.yourdomain.com ! ServerAlias logs.* ! CustomLog /ispman/logs/vhosts/logs.yourdomain.com.access common ! ErrorLog /ispman/logs/vhosts/logs.yourdomains.com.errors ! ServerAdmin [email protected] RewriteEngine on ! RewriteCond %{HTTP_HOST} ^logs\..*$ ! RewriteRule ^(.+) %{HTTP_HOST}$1 [C] ! RewriteRule ^logs\.([^/]+)(.*) /ispman/logs/domains/$1/$2 ! <Directory /ispman/logs/domains> ! Options FollowSymlinks Indexes ! DirectoryIndex index.html ! AllowOverride AuthConfig ! </Directory> </VirtualHost> ! # replace /ispman/logs/domains # with your logs directory --- 2,15 ---- # http://logs.their.domain # to access their raw and processed log files. ! <VirtualHost 123.147.50.143> ! ServerName logs.ispman.org ! ServerAlias logs.* RewriteEngine on ! RewriteCond %{HTTP_HOST} ^logs\..*$ ! RewriteRule ^(.+) %{HTTP_HOST}$1 [C] ! RewriteRule ^logs\.([^/]+)(.*) /var/log/httpd/vhosts/domains/$1/$2 </VirtualHost> ! # replace /var/log/httpd/vhost # with your logs directory ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click