You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy M. Hooper" <rh...@thetoybox.org> on 2001/07/06 04:43:18 UTC

vhost_alias patch for prefix stripping

I made a minor patch to mod_vhost_alias to allow the stripping of prefixes
from the virtual hostname prior to pathname substitution.

This is particularly useful when you want to allow both www.domain.com and
domain.com using vhost_alias.

The new directive is VirtualStripPrefix.

The patch can be found at http://www.toybox.ca/patches/mod_vhost_alias.patch

-- 
Roy Hooper
rhooper@thetoybox.org