1
tlevine
CGI-BIN and cgi scripts
  • 2006/2/28 21:51

  • tlevine

  • Just popping in

  • Posts: 1

  • Since: 2006/2/28


Hi, new XOOPS user here:

Where do I copy my cgi scripts to, to test-drive them using XOOPS?

I tried copying into WWW folder, but that didn't work. I copied them into the CGI-BIN, but I don't know how to access them in my browser. For example, if I typehttp://localhost/ , I'll see the contents of the www folder and will be able to test-drive scripts, but that doesn't help with cgi scripts.

Anyway, where do the cgi scripts go, and what http address should I use to access them?

I appreciate any help you can provide.

Much obliged.

Sincerely, Tom.

2
MorelyDotes
Re: CGI-BIN and cgi scripts

cgi scripts normally go in /cgi-bin and (if security is properly set up) must be called explicitly (that is, you can't browse the directory - you should get a 403 error).

So, if you were trying to run a script called prng.pl you would enterhttp://localhost/cgi-bin/prng.pl in the brower's address bar.

3
Lance_
Re: CGI-BIN and cgi scripts
  • 2006/3/1 0:48

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


You can always use the myiframe module to link to the cgi files and run them within the XOOPS frameset.
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

Login

Who's Online

262 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 262


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits