LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2003, 05:18 AM   #1
666Snake666
LQ Newbie
 
Registered: Sep 2003
Location: Amsterdam, The Netherlands
Distribution: Mandrake 9.1
Posts: 12

Rep: Reputation: 0
Enabling CGI and Perl on Apache 2.0.47


Hi,

I've got Apache 2.0.47 installed on Mandrake 9.1. PHP and MySQL are working just fine, but I just can't manage to enable Perl and CGI on it. I had the "Internal Server Error" for quite some time, and later I installed the scriptalias via webmin rather then by editing the config file manually. Now it says that I don't have enough permissions, but the file and the cgi-bin are on 777 So like, if anybody could go over it again from scratch I would really appreciate it.

Thanks,

Jorn.
 
Old 09-17-2003, 01:20 PM   #2
Madrinator
Member
 
Registered: May 2003
Location: Guadalajara, Mexico
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
I have the same problem!

I recently installed sqwebmail 3.6.0 and I can't get the login page. In order to be able to open the login page, it's necessary to set a ScriptAlias in httpd.conf and specify the path to the sqwebmail binary, like this:

ScriptAlias /cgi-bin/ /var/www/cgi-bin/

<Directory /var/www/cgi-bin>
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

These are lines from my httpd.conf

The sqwebmail binary file is in /var/www/cgi-bin and both the directory and the file have 777 permissions, but when I open a browser and type http://mydomain/cgi-bin/

I get a no permission error from apache!

Watching the apache logs I found this:

[Wed Sep 17 12:50:28 2003] [error] [client 10.0.0.1] client denied by server configuration: /var/www/cgi-bin

What could be wrong if everything seems OK?

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
have apache deliver the output of perl cgi scripts immidiately fibbi Linux - Software 2 07-13-2004 12:17 PM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
I think I need a perl, apache, cgi GOD WorldBuilder Linux - Software 1 09-21-2003 09:49 AM
Disallowing apache to use cgi and perl cannus Linux - General 8 12-21-2002 05:51 PM
Enabling CGI in Apache GabeF Linux - General 1 07-19-2002 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration