Web Servers on Unix and Linux - redirect outside httpd.conf file

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > June 2005 > redirect outside httpd.conf file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author redirect outside httpd.conf file
Rex Roger

2005-06-20, 5:59 pm


I'm trying to enable redirect outside my httpd.conf file,
so as more are added I don't want the parent config file
httpd.conf to edited. Is there someway to do this, similar
to the vhost.map file below.

# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
RewriteMap vhost txt:/usr/local/apache2/conf/vhost.map

Thanks much for any pointers,

Rex

Tero Hänninen

2005-06-20, 5:59 pm

On 20 Jun 2005 21:48:59 GMT, Rex Roger <rex@borg.ucsf.edu> wrote:
>
> I'm trying to enable redirect outside my httpd.conf file,
> so as more are added I don't want the parent config file
> httpd.conf to edited. Is there someway to do this, similar
> to the vhost.map file below.


Not sure if I understood, but can't you do with normal include?
http://httpd.apache.org/docs-2.0/mod/core.html#include

Cheers,
Tero

--
Tero Hänninen | tero@betabyte.net | http://www.betabyte.net/ |
Overflow error in /dev/null
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com