|
-
July 1st, 2001, 12:17 PM
#1
Turning on Perl CGI
I've set up a Linux server (Debian distro) and installed some Perl programs but they don't run. Where do I turn on CGI and Perl scripts, please.
------------------
The answer is 42!
-
July 1st, 2001, 12:29 PM
#2
Do you have PERL installed?
Are you trying to run these apps via a web server? If so, do you have them in the specified directory for apache to run cgi-scripts? I am not sure where debian installs apache, but if it is in something line /usr/local/apache you should see a directory in there titled cgi-bin. Put your cgi scripts in there.
To learn more about where these directories are or to add more, less through the httpd.conf file. You will have to restart apache if you make any changes.
-
July 1st, 2001, 02:48 PM
#3
Hi Danns
Yes Perl is installed, Debian puts it in /usr/bin/ and I found apache httpd.conf file and discovered that the cgi-bin directory is under /usr/lib/
Thanks for that. How do I remotely stop and restart apache? Please
Cheers BF
------------------
The answer is 42!
-
July 1st, 2001, 08:36 PM
#4
find out where apachectl is located and issue this command:
apachectl restart
You'll have to be root to do this.
-
July 4th, 2001, 05:52 AM
#5
Hi Danns
Thanks for that, all is working well now. Thanks for your help 
------------------
The answer is 42!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|