All pastes #525112 Raw Edit

httpd.conf

public text v1 · immutable
#525112 ·published 2007-05-31 08:00 UTC
rendered paste body
NameVirtualHost 192.168.0.200:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
<VirtualHost 192.168.0.200:80>
     ServerAdmin shakir_bukhari@hotmail.com
     DocumentRoot /var/www/localhost/htdocs/mrtg
     ServerName www.qis.com
    <Directory /var/www/localhost/htdocs/mrtg>
    Options Indexes FollowSymLinks
     AllowOverride AuthConfig
    </Directory>
    ServerAlias *qis.com,*proxy.qis.com
</VirtualHost>
#<VirtualHost 192.168.0.200:80>
#       ServerName www.test.net
#       ServerAlias test.net
#       DocumentRoot /var/www/mrtg1
#       DirectoryIndex index.html
#</VirtualHost>
<VirtualHost 192.168.0.200:80>
        ServerName test.net
        DocumentRoot /var/www/test/squirrelmail
        DirectoryIndex index.php
</VirtualHost>