Kelly Price wrote:
> I'm having a strange problem with mod_vhost_alias here, which doesn't
> match the documentation.

I haven't read the documentation for that, so can't help with diagnosing
whether it's a bug or your problem.

> 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

Do you really need that kind of hashing?  The technique dates back to
when filesystems used linear lookup within a directory.  Nowadays I'd
just use a hashed filesystem and not worry about big/flat directories.

> 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

Hmmm.  That's 403 (forbidden) rather than no-such-file.
What's your actual documentroot (as opposed to virtualdocumentroot)?

-- 
Nick Kew

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to