httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: MultiViews
Date Tue, 20 Apr 2004 19:21:09 GMT

On Tue, 20 Apr 2004, Mooky Mooksgill wrote:

> I want to use MultiViews, as my pages have recently switched from .htm
> to .html
> I have turned on MultiViews for my VirtualHost, but eg, /about.htm
> doesn't serve the existing /about.html.
>
> Is this expected? When I ask for /about my about.html is served...
>
> I know there are other ways like rewrite or redirect, any others???
> but should MultiViews do this too?

Multiviews works only if no extension is specified.

You probably want

RedirectMatch ^/(.*)\.htm$ http://yourhost.example.com/$1.html

Joshua.

Mime
View raw message