ah... ok, it works! 
Now I tried with FireFox with ".exe" and it works. There is something wrong in 
my IE; if I put ".exe" with my IE, it tries to download a file instead of 
executing...

Thank for help!

Best regards

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


  you need to include the extension of the mapserver cgi file... you need to 
put the ".exe" at the end of your url and it will work (I already try it ;) ):

  http://213.133.227.245/cgi-bin/mapserv.exe

  Rodrigo.


  On 9/6/07, Francesco Sozzi <[EMAIL PROTECTED] > wrote:
    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@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 <[EMAIL PROTECTED]> 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





Reply via email to