httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Nicolson <>
Subject [users@httpd] dynamic virtual hosts
Date Mon, 02 May 2005 15:07:30 GMT
 I am trying to setup a dynamic virtual hosting
 configuration. I have used traditional virtual
 for a long time and have repeated tried to move to
 dynamic virtual hosting with no success, I have read
the documentation time and time again. I am
 using apache 2.0.53

 I would like a setup like the following... however I
am not sure whether apache supports/how you write
 a configuration
 VirtualDocumentRoot /var/www/%0/htdocs>
 ServerName %0
 ServerAlias www.%0
 VirtualScriptAlias /var/www/%0/cgi-bin
 CustomLog /var/www/%0/logs/access_log vhost_mod
 RewriteEngine on
 RewriteRule .* - [F]
 the main problem however is that even with a simple
 configuration attempt I get forbidden access message
 all the time.... I assume this has something to do
 with rewrite part of my traditional setup, because I
 have not the faintest idea how to implement that in
 dynamic configuration...... of course if no one
 how I could do the above something like this will
 VirtualDocumentRoot /var/www/%0/htdocs
 VirtualScriptAlias /var/www/%0/cgi-bin
 as long as I can access the pages... I have no idea
 what that rewrite rule does... but it makes my
 traditional virtual hosts work.... 
 James Nicolson

Send instant messages to your online friends 

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