All pastes #483188 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-11 16:28 UTC
rendered paste body
#NameVirtualHost 12.34.56.78:83
<VirtualHost 12.34.56.78:83>
	ServerAdmin postmaster@XXXX.XXXX.net
	ServerName XXXX.XXXX.net
	DocumentRoot /var/www/XXXX.XXXX.net/webmail
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/XXXX.XXXX.net/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/XXXX.XXXX.net/cgi-bin/
	<Directory "/usr/lib/cgi-bin/XXXX.XXXX.net/cgi-bin">
		AllowOverride None
		Options +ExecCGI -Multiviews +SymlinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>
	<Directory "/usr/lib/cgi-bin/XXXX.XXXXy.net/cgi-bin/vqadmin">
	deny from all
	Options ExecCGI
	AllowOverride AuthConfig
	Order deny,allow
	</Directory>
	ErrorLog /var/log/apache2/XXXX.log
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

	Alias /doc/ "/usr/share/doc/"
	<Directory "/usr/share/doc/">
		Options Indexes MultiViews FollowSymLinks
		AllowOverride None
		Order deny,allow
		Deny from all
		Allow from 127.0.0.0/255.0.0.0 ::1/128
	</Directory>
</VirtualHost>

#NameVirtualHost 12.34.56.78:80
<VirtualHost 12.34.56.78:80>
	ServerAdmin webmaster@localhost
	ServerName XXXX.XXXX.net
	DocumentRoot /var/www/billing
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/billing/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# Uncomment this directive is you want to see apache2's
		# default start page (in /apache2-default) when you go to /
		#RedirectMatch ^/$ /apache2-default/
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

#NameVirtualHost 12.34.56.78:81
<VirtualHost 12.34.56.78:81>
	ServerAdmin webmaster@localhost
	ServerName XXXXX.XXXXX.net
	DocumentRoot /var/www/signup
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/signup/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
		# Uncomment this directive is you want to see apache2's
		# default start page (in /apache2-default) when you go to /
		#RedirectMatch ^/$ /apache2-default/
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog /var/log/apache2/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>