# This is just an example to use to modify your real site configuration file.

LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so

<VirtualHost *:80>
	ServerName localhost
	ServerAdmin webmaster@localhost

	DocumentRoot /var/www/html
	<Directory "/var/www/html">
	    AllowOverride All
	</Directory>

	<FilesMatch "\.fcgi$">
	    SetHandler "proxy:unix:///opt/opensim_SC/caches/sledjchisl.socket|fcgi://localhost/"
	</FilesMatch>

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

<IfModule mod_ssl.c>
    <VirtualHost *:443>
	ServerName local
	ServerAlias *.localhost
	ServerAdmin webmaster@localhost

	DocumentRoot /var/www/html
	<Directory /var/www/html>
	    AllowOverride All
	</Directory>

	<FilesMatch "\.fcgi$">
	    SetHandler "proxy:unix:///opt/opensim_SC/caches/sledjchisl.socket|fcgi://localhost/"
	</FilesMatch>
    </VirtualHost>
</IfModule>