Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Stefan Fritsch <sf(at)sfritsch.de>
Date: Sat Nov 03 2007 - 07:43:14 EDT


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.

Do you need help?X

Cheers,
Stefan

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Nov 3 07:47:19 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:58:46 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library