oops, here is the correct Apache syntax:

        ScriptAlias /cgi-bin/ /var/www/public_html/cgi-bin/
        <Directory /var/www/public_html/cgi-bin/>
          Options ExecCGI
          SetHandler cgi-script
        </Directory>

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-04-05 10:52 AM, Jeff McKenna wrote:
Hi Karsten,

With Ubuntu, your problem is a combination of what Jukka and Jörg said.
  Here is what I would do in your situation, with Ubuntu:

- make sure the mapserv executable has the correct permissions, with a
command (inside cgi-bin directory) such as:

   sudo chmod 755 mapserv

- make sure that you have configured the appropriate permissions through
Apache for the cgi-bin directory, such as:

           ScriptAlias /cgi-bin/ /var/www/public_html/cgi-bin/
         <Directory
/var/www/demo.gatewaygeomatics.com/public_html/cgi-bin/>
           Options ExecCGI
           SetHandler cgi-script
         </Directory>

- restart Apache

   sudo /etc/init.d/apache2 restart


-jeff



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to