Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alias /gsdl "/opt/greenstone"
<Directory "/opt/greenstone">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
but when I start my web server I can't access the cgi-bin directory.
my httpd error log is like
rror] [client 127.0.0.1] (13)Permission denied: exec of '/opt/greenstone/cgi-bin/library' failed
[Sat Jul 12 11:22:01 2008] [error] [client 127.0.0.1] Premature end of script headers: library
[Sat Jul 12 11:22:01 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
can any body help how to resolve this. thanks in advance
You should add Options ExecCGI for the /gdsl/cgi-bin directory
I have given full permission for a test purpose the cgi-bin directory permissions are 777, what is ExecCGI for the /gsdkl/cgi-bin please explain a bit.
ExecCGI gives execution permissions at server level (not at files level like 777 for instance)
When a script is called and that script is executed by a defined cgi handler, the server verify that the directory containing the script have execute permissions so the script can be executed by the cgi handler, the ExecCGI option gives that permission.
About the other one, you shouldn't have problem if you add to <Directory "/opt/greenstone/cgi-bin"> the following:
Code:
Order allow,deny
Allow from all
Although (and someone please correct me if I'm wrong with this) you, as a user, don't need access directly to http://localhost/gdsl/cgi-bin, I mean, going to that URL and recieving a 403 error doesn't mean that it's a problem since what it's actually required is that the scripts that runs under the cgi-handler have the right access, again, I'm not sure about this one, however, in case I'm wrong the Order allow,deny I put before should work
Last edited by Acron_0248; 07-12-2008 at 04:28 AM.
I have the same problem which had Shahz with the installation of Greenstone.
I'm installing Greenstone on Mac OS X Leopard, being a Unix system I'm writing here.
When I go to http://localhost/gsdl/cgi-bin/
All i get is this error message: "403 Forbidden - You don't have permission to access /gsdl/cgi-bin/ on this server. - Apache/2.0.59 (Unix) PHP/5.2.6 DAV/2 Server at localhost Port 8888".
I added this to the httpd.conf file:
Code:
ScriptAlias /gsdl/cgi-bin "/Users/Flavia/Documents/Greenstone2/cgi-bin"
<Directory /Users/Flavia/Documents/Greenstone2/cgi-bin>
Options None
AllowOverride None
</Directory>
Alias /gsdl "/Users/Flavia/Documents/Greenstone2"
<Directory /Users/Flavia/Documents/Greenstone2>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Can you please Shahz tell me what you exactly wrote in your httpd.conf file?
always about the same subject : 500 Internal Server Error
i uploaded using ftp my website files to my server at /var/www/web1/web/
when i type my web www.website.com i got the 500 internal server error
i tried to change the permission to 0755 but nothing
somebody have any idea how to resolve this problem ?
thanks in advance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.