httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert L. Harris" <>
Subject Vhosts?
Date Fri, 11 Jan 2002 00:03:16 GMT

  I'm trying to set up something a bit odd.  I have 2 web servers.  One
to be publicly visable, one to be in a dark hole, but the first can see
the second.  I have this for starters:

<VirtualHost site1>
    DocumentRoot /var/www1/html
    Redirect /
    RewriteRule ^.*holeserver.**)$1 [L,R]
    ErrorLog logs/site1
    CustomLog logs/site1.custom common

  The theory is that if I got to the virtual server on my public server it'll
access and serve up the internal server.  This is working well except it
sends out the URL for the internal server which is then broken.  I tried
to use the RewriteRule to fix this, but it's not rewriting.


Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
      These are MY OPINIONS ALONE.  I speak for no-one else.
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message