httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] My Apache server doesn't execute my CGI script, but download it
Date Mon, 12 Nov 2007 09:44:03 GMT
On 12/11/2007, thomas Armstrong <tarmstrong@gmail.com> wrote:
> If I access http://210.15.21.186/foo/uploader/hello.cgi, Apache downloads it.
>
> But if I execute it via shell, it displays a "hello world" message.
> 'hello.cgi' script and 'uploader' directory are 755 chmoded.

Are you sure you have mod_cgi loaded?

If that's not the problem, please accept the download and tell us
what's in it (the text of the cgi script, or the result of running
it).

Also, make sure you flush your browser's cache during requests while
testing via its menus and possibly restart it.

If none of that help, take a look here for instructions on determining
the Content-Type: response header:

http://wiki.apache.org/httpd/WatchingHttpHeaders

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message