LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in configuring apache server (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-configuring-apache-server-176403/)

halovivek 04-30-2004 01:55 PM

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.

Mara 04-30-2004 03:53 PM

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/.


All times are GMT -5. The time now is 01:03 AM.