[Mapserver-users] running in cgi-bin
John Beisley - RSG
mapserver-users at lists.gis.umn.edu
Wed Mar 17 01:22:20 PST 2004
Hi,
Try comparing the size of the downloaded "mapserv" file to the size of
the file in the cgi-bin directory on the server. If they differ then
what you probably are receiving is the image file that mapserver should
be producing. The fact that it is named "mapserv" rather than
"image.png" or some such thing is simply how the browser chooses a
default file name.
Hope this helps,
- John
Saurabh Data wrote:
> Dear readers,
>
> hi, I am running my mapserv file from a cgi-bin directory on apacahe
> server.
> But when I try to access it online through internet explorer, it
> downloads the file rahter than running. As per the documentation I
> think I should expect the output to be :
>
> "No query information to decode. QUERY_STRING is set, but empty."
>
> why does it download it ? I think it might be something to do with
> permisission . It so can someone tell me the permission set for this
> file. I currently have :
>
> -rwxr-xr-- 1 ctzsd1 ctz 398342 Mar 16 06:48 mapserv
>
> any ideas ?
>
> cheers
>
> Saurabh
--
Website: www.pml.ac.uk
Registered Charity No. 1091222
Company No. 4178503
-------------------------------------------------------------------
This e-mail, its content and any file attachments are confidential.
If you have received this e-mail in error please do not copy,
disclose it to any third party or use the contents or attachments
in any way. Please notify the sender by replying to this e-mail or
e-mail forinfo at pml.ac.uk and then delete the email without making
any copies or using it in any other way.
The content of this message may contain personal views which are
not the views of Plymouth Marine Laboratory unless specifically
stated.
Email transmission cannot be guaranteed to be secure or error free
More information about the MapServer-users
mailing list