Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Master of Reality on 25 August 2002, 21:20

Title: CGI prob.
Post by: Master of Reality on 25 August 2002, 21:20
I got a cgi script (chat.cgi). When i run it from the console it says: "Must use GET or POST" but it doesnt work from the browser still.
Title: CGI prob.
Post by: Master of Reality on 25 August 2002, 21:39
ok fuck that. I got a worse problem. Any sub-directory i make (with permissions 755) the browser cant find any files in it. I get a 404 not found error. I know the path is correct. If i gfigure out whats wrong, then i will have a chatroom for fuckmicrosoft. But it is my counsel that we only use a chatroom for anything non-technical, so we dont loose any information that might be useful to other people (or so i dont have to archive it the information that might be useful).
Title: CGI prob.
Post by: Master of Reality on 25 August 2002, 21:45
fuck me, never fucking mind. I accidentally copied the entire /var/www/html dir to /var/www/html/html and didnt notice that i put the chat there. I fixed it, but there is still no chat.
Title: CGI prob.
Post by: voidmain on 25 August 2002, 10:42
I'll probably not be able to post much for a while as I only can use one hand to type at the moment. I was out earlier practicing for the X-games on my dirt bike and shattered my collar bone in three places. Just got home from the hospital and just took my first pain pill.  Hopefully it'll start kicking in soon.  The last 6 hours have been pretty painful!

[ August 25, 2002: Message edited by: VoidMain ]

Title: CGI prob.
Post by: Master of Reality on 31 August 2002, 05:36
sounds like you need morphine (and lots of it)!
Title: CGI prob.
Post by: choasforages on 31 August 2002, 05:40
that has to hurt though. and you would have been on the X-games, DAMN!!!
Title: CGI prob.
Post by: Bazoukas on 31 August 2002, 06:22
Holly shit dude!!!!
Title: CGI prob.
Post by: beltorak0 on 31 August 2002, 11:36
what does the apache error log say? alternately, you can code
Code: [Select]
and then see what error it gives in the browser.

other than that i dunno.  i'm just starting perl-cgi programming.

you might also try (if you haven't already)
Code: [Select]
and see if some of your code is a little funny....

also; you can do use
Code: [Select]
and enter the necessary KEY=VALUE pairs on the command line.  end with [ctl]-[d].

-t.

[ August 31, 2002: Message edited by: beltorak0 ]