httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sveningsson <...@sidvind.com>
Subject Re: [users@httpd] Apache2 vhost log
Date Sat, 15 Jul 2006 20:11:15 GMT
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@sidvind.com> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

-- 



*//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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message