aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example/etc/apache2/sledjchisl.fcgi.conf
blob: 95458cdb4bc64876a84e8caceace04ec820acda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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>