Can't execute mapserv.exe from Apache 2 cgi-bin folder

Francesco Sozzi fsozzi at INTERCAD.CH
Thu Sep 6 05:19:59 PDT 2007


Hi Rodrigo,

Thanks for help.
Unfortunatelly I already have the following line:

ScriptAlias /cgi-bin/ "C:/Programmi/Apache Group/Apache2/cgi-bin/"

And if I try to run http://213.133.227.245/cgi-bin/mapserv I have a 404 error (file not found).

So, I think there is something else wrong...

I attacched my configuration file.

Best regards

Francesco
  ----- Original Message ----- 
  From: Rodrigo Martín LÓPEZ GREGORIO 
  To: MAPSERVER-USERS at LISTS.UMN.EDU 
  Sent: Thursday, September 06, 2007 1:24 PM
  Subject: Re: [UMN_MAPSERVER-USERS] Can't execute mapserv.exe from Apache 2 cgi-bin folder


  Hi Francesco

  You also need to have a Script Alias in your httpd.conf file like this:

  ScriptAlias /cgi-bin/ "/ms4w/Apache/cgi-bin/"

  and then (after restarting apache) you can try to access mapserver like: 

  http://yourservername:port/cgi-bin/mapserv.exe

  Rodrigo. 


  On 9/6/07, Francesco Sozzi <fsozzi at intercad.ch> wrote:
    Hi All,

    I'm trying to let Mapserver provide as WMS server, but I have an Apache configuration problem.

    I've put mapserv.exe into C:/Programmi/Apache Group/Apache2/cgi-bin.

    But I can't execute from browser (it is as it does not see/execute the file).

    I have no problem in Apache 1.x but I have problem with a standard installation of Apache 2 on Windows XP.

    In my httpd.conf I have this cgi-bin folder definition:


    <Directory "C:/Programmi/Apache Group/Apache2/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>

    How can I set execution permission?...

    Best regards

    Francesco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070906/5736d328/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd.zip
Type: application/octet-stream
Size: 12510 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070906/5736d328/attachment.obj>


More information about the MapServer-users mailing list