# Just in case default vhost cracks
Order deny,allow
Deny from all
Allow from localhost 192.168.1.
# Keep out of main cgi-bin
Order deny,allow
deny from all
allow from localhost 192.168.1.
# no outside relative path to vhosts
Order deny,allow
deny from all
allow from localhost 192.168.1.
Order deny,allow
deny from all
allow from localhost 192.168.1.
# Override real ServerName from httpd.conf so hostname vhost works
ServerName mainpc.localdomain
UseCanonicalName off
NameVirtualHost *
# Default for unknown access (wormhole and separate log)
DocumentRoot /usr/local/httpd/htdocs/nohost
ServerSignature Off
ErrorLog /var/log/httpd/nohost_error_log
LogFormat "%V %h %l %u %t \"%r\" %>s %b" nohost
CustomLog /var/log/httpd/nohost_access_log nohost
DocumentRoot /usr/local/httpd/htdocs/realhost
ServerName realhost.no-ip.com
ServerAlias *.realhost.no-ip.com
DocumentRoot /usr/local/httpd/htdocs/efflandt
ServerName efflandt.no-ip.com
ServerAlias *.efflandt.no-ip.com
DocumentRoot /usr/local/httpd/htdocs
ServerName localhost.localdomain
ServerAlias localhost
# If inside gateway/router use and make certain that
# access to /home/*/public_html is limited if desired
DocumentRoot /usr/local/httpd/htdocs
ServerName mainpc.localdomain
ServerAlias mainpc