<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Rodrigo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for help.</FONT></DIV>
<DIV><FONT face=Arial size=2>Unfortunatelly I already have the following
line:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ScriptAlias /cgi-bin/ "C:/Programmi/Apache
Group/Apache2/cgi-bin/"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And if I try to run <A
href="http://213.133.227.245/cgi-bin/mapserv">http://213.133.227.245/cgi-bin/mapserv</A> I
have a 404 error (file not found).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, I think there is something else
wrong...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I attacched my configuration file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Francesco</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rodrigomlg@GMAIL.COM href="mailto:rodrigomlg@GMAIL.COM">Rodrigo
Martín LÓPEZ GREGORIO</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=MAPSERVER-USERS@LISTS.UMN.EDU
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 06, 2007 1:24
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] Can't
execute mapserv.exe from Apache 2 cgi-bin folder</DIV>
<DIV><BR></DIV>Hi Francesco<BR><BR>You also need to have a Script Alias in
your httpd.conf file like this:<BR><BR>ScriptAlias /cgi-bin/
"/ms4w/Apache/cgi-bin/"<BR><BR>and then (after restarting apache) you can try
to access mapserver like: <BR><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://yourservername:port/cgi-bin/mapserv.exe"
target=_blank>http://yourservername:port/cgi-bin/mapserv.exe</A><BR><SPAN
class=sg><BR>Rodrigo.</SPAN> <BR><BR>
<DIV><SPAN class=gmail_quote>On 9/6/07, <B class=gmail_sendername>Francesco
Sozzi</B> <<A href="mailto:fsozzi@intercad.ch">fsozzi@intercad.ch</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to let Mapserver provide as WMS
server, but I have an Apache configuration problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've put mapserv.exe into C:/Programmi/Apache
Group/Apache2/cgi-bin.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But I can't execute from browser (it is as it
does not see/execute the file).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have no problem in Apache 1.x but I have
problem with a standard installation of Apache 2 on Windows XP.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my httpd.conf I have this cgi-bin folder
definition:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><Directory "C:/Programmi/Apache
Group/Apache2/cgi-bin"><BR> AllowOverride
None<BR> Options None<BR> Order
allow,deny<BR> Allow from
all<BR></Directory></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I set execution
permission?...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>Francesco</FONT></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>