running apache 1.3.x :
VirtualDocumentRoot /home/%1.0-iroot/%3+/%2.0
VirtualScriptAlias /home/%1.0-iroot/%3+/cgi-bin/
<a style='text-decoration: underline;' href="http://stage.www.domain.com" target="_blank">http://stage.www.domain.com</a> -> /home/stage-iroot/domain.com/www/
<a style='text-decoration: underline;' href="http://stage.www.domain.com/cgi-bin/test.pl" target="_blank">http://stage.www.domain.com/cgi-bin/test.pl</a> ->
/home/stage-iroot/domain.com/cgi-bin/test.pl
grtx Niels
"rach" <kjkfjgndfjg.fgdfg RemoveThis @dfgdnfgdf.net> wrote in message
news:qgTVa.30631$Nf.80283@sea-read.news.verio.net...
> Hi I would like to have Apache2 (on freebsd5.1) to serve like so:
>
<font color=purple> > requests sent to here: <a style='text-decoration: underline;' href="http://domain.com/file</font" target="_blank">http://domain.com/file</font</a>>
>
> Are routed here:
>
> /home/user/site/domain.com/file
>
> So I do:
> VirtualDocumentRoot /home/*/%0 ## This is in the httpd.conf file, but it
> doesn't yield results
.
>
> So how can I get this to work?
>
> Rach
>
>
><!-- ~MESSAGE_AFTER~ -->