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

Bug#449109: apache2.2-common: AliasMatch regexen broken if number of path elements differ



On Saturday 03 November 2007, Simon Raven wrote:
> this works (better):
> AliasMatch ^/user/([a-zA-Z0-9]+)/?(.*) /home/$1/public_html/$2
>
> but when i do:
> AliasMatch ^/user/([a-zA-Z0-9]+)/?(.*) /home/$1/public_html/pub/$2

The second line works here, too.

> i get that funky /htdocs error from another bug (#317460).

That likely means that the DocumentRoot is not defined for the 
VirtualHost Apache is trying to serve. It could also mean that Apache 
does not find a VirtualHost for the request (Debian's main server 
config does not have a DocumentRoot defined).

> either 
> way, DirectoryIndex index.foo index.bar ... doesn't "kick in".

does /etc/mods-enabled/autoindex.load exist? Try a2enmode autoindex.

> on 
> another host, with the same DirectoryIndex, it works fine. It seems
> like either PEBKAC or actual s/w error. i've been working on it for
> 6 hours (4 hours straight, and 2 now).

A configuration error seems more likely to me.

Cheers,
Stefan




Reply to: