All pastes #2091142 Raw Edit

Miscellany

public text v1 · immutable
#2091142 ·published 2011-10-18 18:14 UTC
rendered paste body
<VirtualHost *:80>

	ServerAdmin admin@shptest.local
	ServerName  shptest.local
	ServerAlias www.shptest.local

	# Indexes + Directory Root.
	DirectoryIndex index.html index.htm index.php
	DocumentRoot /srv/vhosts/shptest/public_html

	<Directory "/srv/vhosts/shptest/public_html">
                AllowOverride All
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

	# Logging
        ErrorLog /srv/vhosts/shptest/logs/apache2/error.log

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

        CustomLog /srv/vhosts/shptest/logs/apache2/access.log combined

	# uid and gid serpation
	<IfModule mpm_itk_module>
		AssignUserId shptest shptest
	</IfModule>

	# Open Basedir
	<Directory /srv/vhosts/shptest>
		php_admin_flag engine on
		php_admin_value open_basedir /srv/vhosts/shptest:/tmp
	</Directory>

</VirtualHost>