CGI Bin

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
eln1
-


Joined: 16 Nov 2003
Posts: 1

PostPosted: Mon Aug 28, 2006 4:12 am    Post subject: CGI Bin Reply with quote

I just instaled Abbys 5 and have no a cgi bin. Does anyone know if that is the way the new server is or I shoul reinstall it. Also I installed PHP 5 and the scripts do not work, Where should the .php files be downloaded. Does anyone know? Thanks in advance
Back to top View user's profile Send private message
Pottsie
-


Joined: 23 Aug 2006
Posts: 14
Location: Victoria, Australia

PostPosted: Mon Aug 28, 2006 9:45 am    Post subject: Reply with quote

G'day,

In order to serve cgi scripts, you'll be looking for the Perl scripting engine to plug-into Abyss.
http://www.activestate.com/Products/ActivePerl/?_x=1 Is the site to go to - You're after the ActivePerl releases (I'm using the latest one, it works really well)
You'll need to register to download it, but its free and there's no strings attached.

As for serving cgi scripts, after you've set Abyss up to use the Perl interpreter, you can create a cgi-bin directory in your wwwroot directory. Place your cgi scripts into there, and then you'll be able to load them from your site address, EG:
Code:
http://www.example.com/cgi-bin/exampleScript.cgi


Regarding PHP - Have you followed the instructions on the Aprelium site?
http://www.aprelium.com/abyssws/php5win.html
They're really good for getting things going.
It'll show you how to set it up, and to include .php files as indexes etc.
As for location, php scripts can be placed anywhere, so long as they're working, and Abyss has been taught how to process them (Following the guide) then it should all work.

Good luck, and throw any questions or problems here, people are really helpful.

Cheers,

Pottsie
_________________
Cheers and Beers
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Mon Aug 28, 2006 11:04 am    Post subject: Reply with quote

Present day versions of Abyss require no cgi-bin folder as Abyss knows cgi scripts by their file extension. This means you can place them anywhere. However, you can create a cgi-bin if this is easier for you. It won't affect the scripts performance.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group