All pastes #1597406 Raw Edit

Unnamed

public text v1 · immutable
#1597406 ·published 2009-10-06 10:08 UTC
rendered paste body

/etc/apache2/sites-enabled/100-geov

<VirtualHost *:4405>
	ServerAdmin webmaster@localhost

	DocumentRoot /srv/www/geovoucher/app
	<Directory />
		Options FollowSymLinks
		AllowOverride All
		deny from all
	</Directory>
	<Directory /srv/www/geovoucher>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
	</Directory>

	ErrorLog /var/log/apache2/error-geov.log
	LogLevel debug
	CustomLog /var/log/apache2/access-geov.log combined
</VirtualHost>


<VirtualHost *:4406>
	ServerAdmin webmaster@localhost

	SSLEngine on
	SSLCertificateFile /etc/apache2/certificates/server.crt
	SSLCertificateKeyFile /etc/apache2/certificates/server.key
	# http://webdesign.about.com/od/ssl/ht/new_selfsigned.html
	# sudo openssl genrsa 1024 > server.key
	# sudo openssl req -new -x509 -nodes -sha1 -days 365 -key server.key > server.crt


	DocumentRoot /srv/www/geovoucher
	<Directory />
        	SSLRequireSSL
		Options FollowSymLinks
		AllowOverride All
	</Directory>
	<Directory /srv/www/geovoucher>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all
	</Directory>

	ErrorLog /var/log/apache2/error-geov-ssl.log
	LogLevel warn
# CustomLog /var/log/apache2/access-geov-ssl.log combined
# RewriteLogLevel 2
# RewriteEngine off

</VirtualHost>







/etc/hosts


127.0.0.1 localhost
127.0.0.1 user1-desktop
127.0.0.1 lcwood

# limcore - geovoucher
127.0.0.1 gv.limcore.dev

# limcore - limcore.com test
127.0.0.5 lc.limcore.dev


# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts