Re: [users@httpd] Apache2 vhost log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, it didn't process any requests at all. When I tried your settings I
noticed that and found that Apache had a default vhost (which was being
used instead of mine). Just moved the configuration over there and now
it works. How stupid of me..

Anyways, thanks!

Joshua Slive wrote:
> On 7/15/06, David Sveningsson <eXt@xxxxxxxxxxx> wrote:
>> Hi, I cannot get custom logs for a vhost to work. The logfiles is
>> created but empty. I've searched for examples and read the manual but it
>> don't work. Don't know what I'm doing wrong.
>>
>> This is my vhost config:
>>
>> <VirtualHost *:80>
>>     DocumentRoot /www/example.com
>>     ServerName example.com
>>
>>     CustomLog /www/example.com/access_log "%h %l %u %t \"%r\" %>s %b
>> \"%{Referer}i\" \"%{User-agent}i\""
>>     ErrorLog /www/example.com/error_log
>>     AcceptPathInfo On
>>
>>     Alias /wiki /www/example.com/index.php
>>     Alias /index.php /www/example.com/index.php
>> </VirtualHost>
>>
>> Does anyone have any tips?
>
> Does /www/example.com/ exist?
>
> Are you absolutely sure that this vhost is processing requests?  If
> you put
> <Location />
> Order allow,deny
> Deny from all
> </Location>
> in there, does it deny all requests?
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

-- 



*//David Sveningsson [eXt]*
______________________________________
Freelance Coder | Game Developer Student
[ http://sidvind.com ]  [ http://nitroxy.com ]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux