LinuxQuestions.org
Visit Jeremy's Blog.
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 04-30-2004, 01:55 PM   #1
halovivek
Member
 
Registered: Aug 2003
Location: india
Distribution: ubuntu
Posts: 36

Rep: Reputation: 15
Thumbs up problem in configuring apache server


I am having some problem in configuring apache server.When i tried to
access the file blast.cgi which is kept in /var/www/html/blast/ it says

"Forbidden
You don't have permission to access /blast/blast.cgi on this server."
1) i have included the following inboth httpd.conf and httpd2.conf
"
DocumentRoot /var/www/html
AddHandler cgi-script .cgi .pl
ScriptAlias /cgi-bin/ /var/www/html/cgi-bin/
<Directory /var/www/html/cgi-bin/>
AllowOverride AuthConfig
Options +ExecCGI FollowSymLinks
Order allow,deny
Allow from all
</Directory>"
2) i have given full permisssion for the files by chmod 777
3) the /etc/httpd/logs/error_log file says
[Thu Apr 22 08:39:18 2004] [error] [client 10.22.32.3] Options ExecCGI
is off in this directory: /var/www/html/blast/blast.cgi, referer:
http://10.22.32.3/blast/blast.html

I have wasted almost a month finding the solution to this problem.
..I will be very grateful if anyone of you can help me in this regard.
 
Old 04-30-2004, 03:53 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You have the script in a directory that doesn't allow for them to run. You can copy it to /var/www/html/cgi-bin/ or write an entry (like the <Directory> one from /var/www/html/cgi-bin/ you provided) for /var/www/html/blast/.
 
  


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
Configuring PHP on a Redhat/Apache server Ziggie Linux - Software 8 12-22-2005 10:12 AM
Configuring my web server with APACHE pkrishna10 Linux - Newbie 2 12-11-2004 06:44 AM
Configuring Apache to Resolve Server Name EADTF Linux - Newbie 7 07-21-2004 01:20 PM
Problem in Configuring Apache Shals Linux - Software 1 08-15-2003 03:55 AM
Tuts on installing/configuring Apache Web server! Jnox Linux - General 1 01-22-2002 08:38 PM

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

All times are GMT -5. The time now is 10:06 AM.

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