View Single Post
  #7 (permalink)  
Old 10-27-2005, 01:48 PM
drogers drogers is offline
Senior Member
 
Posts: 54
Default

wow. thanks man. you've out done yourself. i didn't think i had to add a virtual host for curley.quirkservice.com, since it was the default.

however...

when i restart httpd, i get this warning:
[warn] _default_ VirtualHost overlap on port 80, the first has precedence

i messed around with the httpd.conf file, and kept getting variation of this error. i am gonna keep messing with it... here is the latest httpd.conf and error message

httpd.conf:
Code:
ServerName curley.quirkservice.com

<VirtualHost curley.quirkservice.com>
ServerName curley.quirkservice.com
DocumentRoot /var/www/html
 <Directory /var/www/html>
    Options -Indexes FollowSymLinks MultiViews +ExecCGI
       AllowOverride All
     <IfModule mod_access.c>
       Order allow,deny
       Allow from all
     </IfModule>
 </Directory>

</VirtualHost>

<VirtualHost 141.154.98.107:80>

  # Servername is the domain name you want users to type into their
  # browser in order to connect to Zimbra
  ServerName mail.quirkservice.com

  # Pass every request off to Zimbra
  RewriteEngine           On
  RewriteRule ^(.*)$ http://127.0.0.1:7070$1 [P]
  RewriteRule ^proxy:.* - [F]

  # On the way back, rewrite headers containing this domain name and port,

  # effectively hiding the port from the user
  ProxyPassReverse / http://mail.quirkservice.com:7070/

  ProxyPreserveHost On
</VirtualHost>
Code:
[warn] VirtualHost curley.quirkservice.com:0 overlaps with VirtualHost 141.154.98.107:80, the first has precedence, perhaps you need a NameVirtualHost directive
i guess if anyone can see what im doin wrong, just lemme know. im go back to googlin' this stuff.
thanks.
Reply With Quote