Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-30-2004, 02:55 PM   #1
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

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
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] Options ExecCGI
is off in this directory: /var/www/html/blast/blast.cgi, referer:

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, 04:53 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,684

Rep: Reputation: 230Reputation: 230Reputation: 230
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/.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 08:05 AM.

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