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 ;) ):<br><br><a href="http://213.133.227.245/cgi-bin/mapserv.exe">
http://213.133.227.245/cgi-bin/mapserv.exe</a><br><br>Rodrigo.<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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div 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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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><span class="sg">
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Francesco</font></div></span><div><span class="e" id="q_114dac331efcecc3_2">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="rodrigomlg@GMAIL.COM" href="mailto:rodrigomlg@GMAIL.COM" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Rodrigo
Martín LÓPEZ GREGORIO</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="MAPSERVER-USERS@LISTS.UMN.EDU" href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
MAPSERVER-USERS@LISTS.UMN.EDU</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, September 06, 2007 1:24
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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 href="http://yourservername:port/cgi-bin/mapserv.exe" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://yourservername:port/cgi-bin/mapserv.exe</a><br><span>
<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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fsozzi@intercad.ch</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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></span></div></div>
<br clear="all"></blockquote></div><br>