httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Swift" <steve.j.sw...@gmail.com>
Subject Re: [users@httpd] configure a catchall page for a website subdirectory?
Date Thu, 28 Sep 2006 19:12:35 GMT
Alias /subdir/* full-path-to-page

Should do the trick. If you're worried about people entering the "subdir"
part in upper- or mixed-case then you can use:

AliasMatch /[Ss][Uu][Bb][Dd][Ii][Rr]/.* full-path-to-page

There may be a better way to do case-insensitive matching, if so I'd be glad
to learn it!

On 28/09/06, Greg <greg@ito-y.com> wrote:
>
> hi,
> I'm new to Apache, but I need a way to configure all page requests inside
> a
> specific website subdirectory to be directed to the same page regardless
> of
> what page is requested, yet preserving the url that was requested in the
> browser's address bar. Kinda like a 'catchall' page for only that folder
> but
> keeping the url they requested intact.
>
>
> thanks,
> Greg
>
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Steve Swift
http://www.swiftys.org.uk

Mime
View raw message