httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Another mod_rewrite question
Date Tue, 20 Jan 2004 17:17:09 GMT

On Tue, 20 Jan 2004, Scott Taylor wrote:
> I believe that this one should be able to be done (and thank you Brian
> Dessent for the information on the last one):
>
> If someone types domain.com/page/ I would like it to load
> domain.com/page.php.  But in the case that page.php does not exist, for
> it to load page.shtml,  And in case that does not exist, to page.html

This can be done using mod_rewrite, but it is complicated.  You may be
better off looking at Options Multiviews.

Joshua.

---------------------------------------------------------------------
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


Mime
View raw message