So I'm a first time MapServer user and have been trying to navigate the installation process. I think I almost have it, but I am having some last problems. When I access my executable mapserv file from the command line, I get this: 
<br>
<br>
<TT>This script can only be used to decode form results and should be initiated as a CGI process via a httpd server.</TT>
<br>
<br>
All sounds good, right? Well, I am using MAMP to host an Apache2.0 server. The httpd.conf file has the following in it:
<br>
<TT>Alias /cgi-bin/ "[rootfile]/cgi-bin/"</TT>
<br>
<br><TT> Directory "[rootfile]/cgi-bin/\>
 <br>   AllowOverride None
 <br>   Options ExecCGI FollowSymLinks Indexes
 <br>   Order allow,deny
 <br>   Allow from all
<br> /Directory\></TT>
<br>
<br><TT> AddHandler cgi-script .cgi .py</TT>
<br>
<br>
I know that first line should probably be ScriptAlias, but I kept getting a "Permission Denied" message and read in a forum that this was a solution somebody had come up with, and indeed it worked for me as well. 
<br>
<br>
Anyways, the problem is that in this cgi-bin I have my <TT> mapserv </TT> executable (though one of the things I'm thinking is that maybe I need to add something else to AddHandler to make it think that this file is executable?). <b>But when I got to //localhost/cgi-bin/mapserv it tries to download the file as "Untyped Binary Data" and it doesn't execute anthing.  </b>
<br>
<br>
In case its of any help the <TT> ls -l </TT>for my cgi-bin gives the following information:
<TT>-rwxr-xr-x   1 Rebecca  Rebecca   51244 Jul  9 07:52 mapserv</TT>
<br>
<br>
Do I not have this installed correctly? Or is my server just not realizing that this is executable. I would be thrilled if I could just get to the point where //localhost/cgi-bin/mapserv just brought up a "No query information to decode" message, since I think I can handle it from there. 
<br>
<br>
Thank you very much,

Rebecca 
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/access-problems-from-cgi-bin-on-Mac-OS-X-10.4.11---MAMP-tp3236919p3236919.html">access problems from cgi-bin on Mac OS X 10.4.11 / MAMP</a><br>
Sent from the <a href="http://n2.nabble.com/Mapserver---User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br>