[MapProxy] FW: Setting up a Production Server w/ FastCGI and Apache
Marc Harter
mharter at adc4gis.com
Wed Jun 9 15:29:11 EDT 2010
I am having difficulty setting up the FastCGI for Apache. Here is what I have so far:
LoadModule fastcgi_module modules/mod_fastcgi.so
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi .fpl
<Files /var/www/mapproxy/var/fcgi-socket>
SetHandler fastcgi-script
</Files>
FastCgiServer /var/www/mapproxy/var/fcgi-socket -socket /var/www/mapproxy/var/fcgi-socket
</IfModule>
I think the first param of FastCgiServer is incorrect, its supposed to be the name of the FastCgi Application but I didn't see that in the documentation for MapProxy.
When running all I get is:
[Wed Jun 09 14:18:24 2010] [crit] (13)Permission denied: FastCGI: can't create server "/var/www/mapproxy/var/fcgi-socket": bind() failed [/etc/httpd/logs/fastcgi/8f72f17629f3569fdcc4a8e777a99580]
Any help would be appreciated.
Marc
More information about the MapProxy
mailing list