Re: [users@httpd] Strange problem with mod_vhost_alias

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

 



are u trying  to put the log files in separte  dir's for each vhost ? or
i don't understand the problem ?

Kelly Price wrote:
> I'm having a strange problem with mod_vhost_alias here, which doesn't
> match the documentation.
> 
> My intentions are to map these sample domains on one server to these
> directories:
> web.stalag99.net => /home/hosts/stalag99_net/w/e/b/web/public_html/
> stalag99.net => /home/hosts/stalag99_net/w/e/b/web/public_html
>        OR /home/hosts/stalag99_net/_/_/_/_/public_html (if I'm reading
> the docs right)
> anydomain.dotsig.org => /home/hosts/dotsig_org/a/n/y/anydomain/public_html
> www.canmephwar.co.uk => /home/hosts/co_uk/c/a/n/canmephwar/public_html
> 
> In reality, I have like 8000 domains, mostly .comicgenesis.com but
> with www.stalag99.net, www.kisai.org, www.kisai.ca,
> www.digitalwar.co.uk, etc in the mix.
> 
> The particular line:
> VirtualDocumentRoot /home/hosts/%-2_%-1/%-3.1/%-3.2/%-3.3/%-3/public_html
> 
> In testing, using to report the actual file accessed at the end of the
> log line...
> LogFormat "%V %h %l %u %t \"%r\" %s %b %f" vcommon                              
> CustomLog logs/access_log vcommon                                               
> 
> I get this in my access log (one per request, of course, all pointing locally):
> web.stalag99.net 127.0.0.1 - - [01/Aug/2005:22:46:52 -0400] "GET /
> HTTP/1.1" 403 290 /home/hosts/stalag99_net
> stalag99.net 127.0.0.1 - - [01/Aug/2005:22:47:06 -0400] "GET /
> HTTP/1.1" 403 286 /home/hosts/stalag99_net
> 
> It looks like it's cutting off past %-3.1 and beyond.  Changing to:
> 
> VirtualDocumentRoot /home/hosts/%0/public_html
> 
> works as usual.  
> 
> I think I've found a bug.  Apache 2.0.54, on a Gentoo Linux box.
> 

Attachment: signature.asc
Description: OpenPGP digital signature


[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