You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a working implementation of TinyOWS but I am trying to enable fastcgi on Ubuntu 14.04 but I don't believe it is working correctly yet.
I've tried to follow the MapServer page detailing TinyOWS server tuning
What I've done is:
Installed libapache2-mod-fastcgi and enabled it via a2enmod fastcgi;
Installed libfcgi-dev so that the tinyOWS configure process finds the fastcgi headers;
Recompiled TinyOWS using the --with-fastcgi flag;
The instructions then say to:
#in your cgi-bin directive, add the following to run all cgi-bin using FastCGI
SetHandler fastcgi-script
Is this referring to the /etc/apache2/conf-enabled/serve-cgi-bin.conf file? If so, I've added the SetHandler line. If not, can someone point me in the right direction?
The instructions then state to:
#in your FastCGI config file (typically something like /etc/apache2/mods-enabled/fastcgi.conf)
FastCgiServer /usr/lib/cgi-bin/tinyows.fcgi -processes 10
When I add this line I get an error that the file doesn't exist. Based on the tinyOWS installation instructions (the regular instructions, not the server tuning instructions) the compiled file tinyows is meant to be copied to /usr/lib/cgi-bin/tinyows, so I've tried renaming this file to tinyows.fcgi. If this is not correct, is the make process meant to generate such a file and, if so, where does one find it?
I've restarted the server and I am able to query the features, but I don't notice any speed increase, is there something amiss?
Thanks.
The text was updated successfully, but these errors were encountered:
I have a working implementation of TinyOWS but I am trying to enable fastcgi on Ubuntu 14.04 but I don't believe it is working correctly yet.
I've tried to follow the MapServer page detailing TinyOWS server tuning
What I've done is:
Installed
libapache2-mod-fastcgi
and enabled it viaa2enmod fastcgi
;Installed
libfcgi-dev
so that the tinyOWS configure process finds the fastcgi headers;Recompiled TinyOWS using the
--with-fastcgi
flag;The instructions then say to:
Is this referring to the
/etc/apache2/conf-enabled/serve-cgi-bin.conf
file? If so, I've added the SetHandler line. If not, can someone point me in the right direction?When I add this line I get an error that the file doesn't exist. Based on the tinyOWS installation instructions (the regular instructions, not the server tuning instructions) the compiled file
tinyows
is meant to be copied to/usr/lib/cgi-bin/tinyows
, so I've tried renaming this file totinyows.fcgi
. If this is not correct, is the make process meant to generate such a file and, if so, where does one find it?I've restarted the server and I am able to query the features, but I don't notice any speed increase, is there something amiss?
Thanks.
The text was updated successfully, but these errors were encountered: