Debian Apache2 issue

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Mon Mar 5 18:25:42 UTC 2007


Hi all,

   I've got Debian Etch (Testing) running Apache 2.2.3. In the VH 
container I have the line:

  ErrorLog /var/www/borked.domain.com/logs/error.log

   There are no errors when I start Apache so I assume this is fine. 
I've made sure that the file exists and is in a directory that the file 
is in is owned by and writable by 'www-apache'. Still, despite all this, 
the VH domain writes to '/var/log/apache2/error.log' instead.

   I didn't have this problem before under Etch using the same config (I 
think, at least) until I reinstalled Debian a couple of weeks ago. Has 
anyone run into this? Any idea what I might be doing wrong?

   Here is my full VH container, it's the only domain (running on my 
personal computer) which I use for development:

-=-=-=-=- file: [/etc/apache2/sites-available/default] -=-=-=-=-
NameVirtualHost *
<VirtualHost *>
         ServerAdmin digimer-9IKiO1iGCm/QT0dZR+AlfA at public.gmane.org

         ServerName borked.domain.com

         DocumentRoot /var/www/borked.domain.com/html
         <Directory />
                 Options FollowSymLinks
                 AllowOverride None
         </Directory>
         <Directory /var/www/borked.domain.com/html/>
                 Options Indexes FollowSymLinks MultiViews
                 AllowOverride None
                 Order allow,deny
                 allow from all
         </Directory>

         ScriptAlias /cgi-bin/ /var/www/borked.domain.com/cgi-bin/
         <Directory "/var/www/borked.domain.com/cgi-bin">
                 AllowOverride None
                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                 Order allow,deny
                 Allow from all
         </Directory>

         ErrorLog /var/www/borked.domain.com/logs/error.log

         # Possible values include: debug, info, notice, warn, error, crit,
         # alert, emerg.
         LogLevel warn

         CustomLog /var/www/borked.domain.com/logs/access.log combined
         ServerSignature On

     Alias /doc/ "/usr/share/doc/"
     <Directory "/usr/share/doc/">
         Options Indexes MultiViews FollowSymLinks
         AllowOverride None
         Order deny,allow
         Deny from all
         Allow from 127.0.0.0/255.0.0.0 ::1/128
     </Directory>

</VirtualHost>
-=-=-=-=-

Thanks!

Madison
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list