httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] If Statements in httpd.conf file is this possible
Date Sat, 16 Nov 2002 02:01:16 GMT

On Fri, 15 Nov 2002 wrote:

> If Statements in httpd.conf file is this possible and if so How would
> I do it. Can I make it use perl,php or bash in the httpd file. so I can make it
> read and use variables
> How can I do a if statement in the httpd.conf file.
> I need to have it look in a directory to see if a file is there if it
> is not I want it to get the file from a different directory.

See "Search pages in more than one directory" under

It's not exactly simple.

Another technique is to point ErrorDocument 404 at a script that looks
elsewhere for the content.


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