diff options
Diffstat (limited to '')
-rw-r--r-- | example/etc/apache2/sledjchisl.fcgi.conf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/example/etc/apache2/sledjchisl.fcgi.conf b/example/etc/apache2/sledjchisl.fcgi.conf index 95458cd..06002bd 100644 --- a/example/etc/apache2/sledjchisl.fcgi.conf +++ b/example/etc/apache2/sledjchisl.fcgi.conf | |||
@@ -11,8 +11,11 @@ LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so | |||
11 | AllowOverride All | 11 | AllowOverride All |
12 | </Directory> | 12 | </Directory> |
13 | 13 | ||
14 | |||
15 | # Any request ENDING in .fcgi gets passed to that unix:...socket, piped as FGCI protocol to localhost. | ||
16 | # That last bit isn't documented, this helped - https://www.linuxquestions.org/questions/linux-server-73/understanding-apache-proxy-unix-sockets-with-pipe-localhost-4175627589/ | ||
14 | <FilesMatch "\.fcgi$"> | 17 | <FilesMatch "\.fcgi$"> |
15 | SetHandler "proxy:unix:///opt/opensim_SC/caches/sledjchisl.socket|fcgi://localhost/" | 18 | SetHandler "proxy:unix:///opt/opensim_SC/var/run/sledjchisl.socket|fcgi://localhost/" |
16 | </FilesMatch> | 19 | </FilesMatch> |
17 | 20 | ||
18 | ErrorLog ${APACHE_LOG_DIR}/error.log | 21 | ErrorLog ${APACHE_LOG_DIR}/error.log |
@@ -31,7 +34,7 @@ LoadModule proxy_fcgi_module /usr/lib/apache2/modules/mod_proxy_fcgi.so | |||
31 | </Directory> | 34 | </Directory> |
32 | 35 | ||
33 | <FilesMatch "\.fcgi$"> | 36 | <FilesMatch "\.fcgi$"> |
34 | SetHandler "proxy:unix:///opt/opensim_SC/caches/sledjchisl.socket|fcgi://localhost/" | 37 | SetHandler "proxy:unix:///opt/opensim_SC/var/run/sledjchisl.socket|fcgi://localhost/" |
35 | </FilesMatch> | 38 | </FilesMatch> |
36 | </VirtualHost> | 39 | </VirtualHost> |
37 | </IfModule> | 40 | </IfModule> |