On Mon, 28 Jan 2008, Soren Eustis wrote:-

>I have been trying for a week to get apache to recognize a cgi script
>and execute it.  The script is part of a distributed package, so I
>know it is my server configuration that is the issue.  Basically, I
>just get a browser prompt asking me what to do with "login.cgi".  I
>would greatly appreciate any help with this.  I am running out of
>ideas, and I know it is a simple fix.  The folder is in
>public_html/cgi-bin/.  Here is my mod_userdir.conf file:

<Snip>

Have you made sure the script is executable? A quick test on Apache
2.2.4 on 10.3 failed if the script wasn't executable. It returned a 500
error and offered the error page as a download. Setting the script as
executable and re-testing showed it works. Using:

chmod 755 /path/to/script

will probably get it working.


Regards,
        David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0a0
SUSE 10.1 64bit  | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6      | TOS 4.02            | openSUSE 10.3 PPC   |RISC OS 3.11
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to