All pastes #2117118 Raw Edit

Unnamed

public text v1 · immutable
#2117118 ·published 2012-02-10 22:05 UTC
rendered paste body
# Auto generated apache config file by DirectAdmin version 1.40.1
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to his/her website

# For global config changes that affect all Users, see this guide:
# http://help.directadmin.com/item.php?id=2
# For local config changes that only affect one User, see this guide:
# http://help.directadmin.com/item.php?id=3

# Frontpage requires these parameters in every httpd.conf file or else
# it won't work.
ServerRoot /etc/httpd



<VirtualHost 109.70.7.72:80 109.70.7.72:443 >

	SSLEngine on
	SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
	SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
	

	ServerName www.ww2game.net
	ServerAlias www.ww2game.net ww2game.net 
	ServerAdmin webmaster@ww2game.net
	DocumentRoot /home/admin/domains/ww2game.net/private_html
	ScriptAlias /cgi-bin/ /home/admin/domains/ww2game.net/public_html/cgi-bin/

	UseCanonicalName OFF

	SuexecUserGroup admin admin
	CustomLog /var/log/httpd/domains/ww2game.net.bytes bytes
	CustomLog /var/log/httpd/domains/ww2game.net.log combined
	ErrorLog /var/log/httpd/domains/ww2game.net.error.log

	

	<Directory /home/admin/domains/ww2game.net/private_html>
		Options +Includes -Indexes

		php_admin_flag engine ON
		<IfModule !mod_php6.c>
			php_admin_flag safe_mode OFF
		</IfModule>
		php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f admin@ww2game.net'


		php_admin_value open_basedir /home/admin/:/tmp:/var/tmp:/usr/local/lib/php/


	</Directory>











</VirtualHost>


<VirtualHost *:80>
	ServerName www.ww2game.org
	ServerAlias www.ww2game.org ww2game.org 
	ServerAdmin webmaster@ww2game.org
	DocumentRoot /home/admin/domains/ww2game.org/public_html
	ScriptAlias /cgi-bin/ /home/admin/domains/ww2game.org/public_html/cgi-bin/

	UseCanonicalName OFF

	SuexecUserGroup admin admin
	CustomLog /var/log/httpd/domains/ww2game.org.bytes bytes
	CustomLog /var/log/httpd/domains/ww2game.org.log combined
	ErrorLog /var/log/httpd/domains/ww2game.org.error.log

	

	<Directory /home/admin/domains/ww2game.org/public_html>
		Options +Includes -Indexes

		php_admin_flag engine ON
		<IfModule !mod_php6.c>
			php_admin_flag safe_mode OFF
		</IfModule>
		php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f admin@ww2game.org'



	</Directory>



</VirtualHost>
<VirtualHost *:443 >
	ServerName www.ww2game.org
	ServerAlias www.ww2game.org ww2game.org 
	ServerAdmin webmaster@ww2game.org
	DocumentRoot /home/admin/domains/ww2game.org/public_html
	ScriptAlias /cgi-bin/ /home/admin/domains/ww2game.org/public_html/cgi-bin/

	UseCanonicalName OFF

	SuexecUserGroup admin admin
	CustomLog /var/log/httpd/domains/ww2game.org.bytes bytes
	CustomLog /var/log/httpd/domains/ww2game.org.log combined
	ErrorLog /var/log/httpd/domains/ww2game.org.error.log

	# Enable SSL here?

	<Directory /home/admin/domains/ww2game.org/public_html>
		Options +Includes -Indexes

		php_admin_flag engine ON
		<IfModule !mod_php6.c>
			php_admin_flag safe_mode OFF
		</IfModule>
		php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f admin@ww2game.org'



	</Directory>



</VirtualHost>