Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71029 Details for
Bug 109837
The Setenv VLOG is no longer followed in Vhosts in apache conf 2.0.54-r31
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Vhosts config file
vhosts.conf (text/plain), 2.17 KB, created by
Andrew
on 2005-10-19 11:08:10 UTC
(
hide
)
Description:
Vhosts config file
Filename:
MIME Type:
Creator:
Andrew
Created:
2005-10-19 11:08:10 UTC
Size:
2.17 KB
patch
obsolete
>################# Vhosts.conf >#This is where we store the VirtualHosts configuration. ># >#Since Apache 1.3.19, we modified the setup to include some nice tricks: ># >#- We added the User and Group directives so VirtualHosts now work with ># suexec directive. If set, Apache will run all cgi scripts under that ># user and group (provided the uid and gid are > 100 for security). The ># directories and cgi files *must* belong to that user/group for the ># feature to work >#- We added the Setenv VLOG directive. This works in conjunction with ># the CustomLog in common.conf. When Setenv VLOG is set, apache will ># create a /var/log/httpd/VLOG-YYYY-MM-<ServerName>.log instead of logging ># to access_log. Use this instead of defining a special logfile for ># each vhost, otherwise you eat up file descriptors. >#- You can also specify a path for the VLOG for each Vhost, for example, ># to place the logs in each user's directory. However, if you want to ># use the file for accounting, place it in a directory owned by root, ># otherwise the user will be able to erase it. >#- I suggest only including the ErrorLog *only* if the vhost will use ># cgi scripts. Again, it saves file descriptors! >#- We added the Rewrite directives so vhosts will work with the ># PERLPROXIED configuration > > >################# IP-based Virtual Hosts >#<VirtualHost 192.168.2.100> >#User jmdault >#Group jmdault >#DocumentRoot /home/jmdault/public_html >#ServerName test2.com >#Setenv VLOG /home/jmdault/logs >#ErrorLogs /home/jmdault/test2-error_log >#RewriteEngine On >#RewriteOptions inherit >#</VirtualHost> > >################# Named VirtualHosts >NameVirtualHost *:80 > ><VirtualHost *:80> >DocumentRoot /var/www/html >ServerName darkmud.co.uk >Setenv VLOG /var/log/apache2 > ></VirtualHost> > > > ><VirtualHost *:80> >DocumentRoot /var/www/spc >ServerName spc.darkmud.co.uk >Setenv VLOG /var/log/apache2 ></VirtualHost> > ><VirtualHost *:80> >DocumentRoot /var/www/casaubons >ServerName casaubons.darkmud.co.uk >Setenv VLOG /var/log/apache2 ></VirtualHost> > ></VirtualHost> > >################# Named VirtualHosts >#NameVirtualHost 111.222.33.44 >#<VirtualHost 111.222.33.44> >#ServerName www.domain.tld >#ServerPath /domain >#DocumentRoot /web/domain >#</VirtualHost> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 109837
: 71029 |
71030