Author Topic: CGI prob.  (Read 503 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
CGI prob.
« 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.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
CGI prob.
« Reply #1 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).
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
CGI prob.
« Reply #2 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.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
CGI prob.
« Reply #3 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 ]

Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
CGI prob.
« Reply #4 on: 31 August 2002, 05:36 »
sounds like you need morphine (and lots of it)!
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
CGI prob.
« Reply #5 on: 31 August 2002, 05:40 »
that has to hurt though. and you would have been on the X-games, DAMN!!!
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Bazoukas

  • Member
  • **
  • Posts: 866
  • Kudos: 140
    • http://whitehouse.com
CGI prob.
« Reply #6 on: 31 August 2002, 06:22 »
Holly shit dude!!!!
Yeah

beltorak0

  • Member
  • **
  • Posts: 223
  • Kudos: 0
    • http://www.angelfire.com/realm/beltorak
CGI prob.
« Reply #7 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 ]

from Attrition.Org
 
quote:
Like many times before, Microsoft is re-inventing the wheel and opting for something other than round.

-t.