All pastes #938376 Raw Edit

Someone

public text v1 · immutable
·published 2008-03-11 16:36 UTC
rendered paste body
APACHE httpd-vhosts.conf:
~~~~~~~~~~~~~~~~~~~~~~~~~

<VirtualHost *:80>
ServerAdmin Staff@domain-ltd.com
ServerName forum.domain-ltd.com
Redirect permanent / http://domain2.com/forum/
</VirtualHost>

<VirtualHost *:80>
ServerAdmin Staff@domain-ltd.com
ServerName stats.domain-ltd.com
Redirect permanent / http://domain2.com/stats/
</VirtualHost>

<VirtualHost *:80>
ServerAdmin Staff@domain-ltd.com
ServerName status.domain-ltd.com
Redirect permanent / http://domain2.com/nagios/
</VirtualHost>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Apache error on restart:
+++++++++++++++++++++++++++++++++++++++++++++++

Richmond# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
[Tue Mar 11 16:34:45 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue Mar 11 16:34:45 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Syntax OK
Stopping apache22.
Waiting for PIDS: 73348.
Performing sanity check on apache22 configuration:
[Tue Mar 11 16:34:47 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue Mar 11 16:34:47 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Syntax OK
Starting apache22.
[Tue Mar 11 16:34:47 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue Mar 11 16:34:47 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Tue Mar 11 16:34:47 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
++++++++++++++++++++++++++++++++++++++++++++++