Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-07-2003, 12:03 AM   #1
LQ Newbie
Registered: Oct 2003
Location: San Jose
Distribution: 9.1
Posts: 2

Rep: Reputation: 0
Apache 2.0.47 and Mandrake issues

Hi all!

I've been trying to get my CGI and Server Side Include scripts to work on my Mandrake 9.1 server running Apache 2.0.47 but so far I have had not luck what so ever.

Originally I was running linux under "linux-secure" but kept getting the error message:

[client] stderr from script: (13)Permission denied: exec of '/var/www/html/d2h/public/cgi-bin/datelocal.cgi' failed

So then I rebooted the system and choose the option "linux" and now I'm getting the error message:

[client] stderr from script: (2)No such file or directory: exec of '/var/www/html/d2h/public/cgi-bin/datelocal.cgi' failed

The file is there and the permission set are 755 under the users name.

The VirtualHost container looks like this:

DocumentRoot /var/www/html/d2h/public
ScriptAlias /cgi-bin/ "/var/www/html/d2h/public/cgi-bin/"
<Directory "/var/www/html/d2h/public/cgi-bin">
Options ExecCGI Includes
<Directory "/var/www/html/d2h/public">
Options FollowSymLinks Includes
CustomLog /var/www/vlogs/mypage_log combined

This worked perfectly on my Mandrake 9.0 with Apache 1.3.27

Can anybody tell me what I'm doing wrong??? Maybe I just need to go back to Mandrake 9.0 or Apache 1.3.27

Thanks for the help.

Old 10-07-2003, 12:17 AM   #2
Registered: Jul 2003
Location: Orlando, FL
Distribution: mandrake 10
Posts: 62

Rep: Reputation: 15
try these: (the first one worked for me. change to suit your dir)

chmod -R 755 /var/www/cgi-bin
chgrp -R apache /var/www/cgi-bin
chown -R apache /var/www/cgi-bin


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
Apache install issues. linux_add1ct Linux - Software 1 09-18-2005 02:09 PM
apache issues gravesb Linux - Software 6 08-08-2005 03:07 AM
Apache issues neeths *BSD 1 02-17-2005 12:55 AM
Apache 2.0.48 issues Malibyte Linux - Software 8 03-10-2004 04:54 PM
Apache Installation Issues gluc0se Linux - Newbie 4 11-28-2003 06:58 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration