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] If Statements in httpd.conf file is this possible
Date Sat, 16 Nov 2002 02:01:16 GMT

On Fri, 15 Nov 2002 rdkurth@starband.net 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
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html

It's not exactly simple.

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

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