httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian V Bonini" <b-bon...@cox.net>
Subject [users@httpd] Re: Another mod_rewrite question
Date Sun, 25 Jan 2004 15:18:35 GMT
On Tue, 20 Jan 2004 12:04:38 -0500, 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

I don't think the mod has an 'OR' operator. You will proabbly have to do
it in an external script.


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