httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Question regarding SSI
Date Mon, 08 Mar 2004 20:14:08 GMT
Krishnakuma Govindarajan wrote:
> I have a question regarding SSI’s. I have two types of files, a .php and 
> then .htm files. The name of the file to be included would be sent 
> through the url and it would be just the name of the file and there 
> would be no extension. In that case, I have to include <filename>.htm, 
> and if it doesn’t exist, I have to include <filename>.php. I’m not sure 
> on how to check whether a file exists or not. Any Ideas?

Start by looking at  "Multiviews" under

It does pretty much exactly what you want automatically.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message