[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache and CGI



There are many necessary things for CGI to work. First, you have to enable it for the
directory the cgi exists in. Also, you may have to add a handler if the CGI is in a
directory along with regular HTML files. Ordinarily the server is configured to only run
CGI scripts if they exist in /usr/lib/cgi-bin.

Now, when you say "when I put it in My HTML, nothing happens. it acts as though its not
there" what do you mean? What happens on the browser end. You get back nothing? Did you
look at the "Page Source" of what came back? Do you get a 404 error or some other error?
Do you get the plain text of your script? Have you looked at Apache's access and error
logs?

kent wrote:

> Is there a CGI/apache/guru out there that can tell me why my CGI doesent
> work on my apache. I have tried just about every configuration that I can
> think of to get it to work. in a nutshell I can get CGI to work at a prompt
> but when I put it in My HTML, nothing happens. it acts as though its not
> there. I thought maybe permissions on the directorys, then I thought apache
> user ID, tried everything from nobody to root and still no CGI. Its getting
> kinda frustrating.
> can anyone help?
> Kent
> ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
> |  Kent Andersen           | Support E-mail        |                     |
> |  System Administrator    | support@gbasin.net    | Make your computer  |
> |  Great Basin Enterprises | Billing dept          | Happy, Feed It some |
> |  Internet Services       | accounts@gbasin.net   | Internet Service    |
> |  kent@gbasin.net             | http://www.gbasin.net |                             |
> |__________________________|_______________________|_____________________|
> |     V 435.896.8041 F 435.896.6988 146N Main Richfield UT 84701         |
> »»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



--
Jens B. Jorgensen
jjorgens@bdsinc.com



--  
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: