[mapserver-users] seemingly sucessfully compiled mapserver 7.0.1 on ubuntu 14.04 - but NO - gives binary output ?

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Apr 5 06:54:14 PDT 2016


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
>




More information about the mapserver-users mailing list