LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-07-2003, 12:03 AM   #1
optikool
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 66.166.23.206] 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 66.166.23.206] 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:

<VirtualHost 66.166.23.203>
ServerName optikool.dhs.org
ServerAlias optikoolillusion.dhs.org
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>
<Directory "/var/www/html/d2h/public">
Options FollowSymLinks Includes
</Directory>
CustomLog /var/www/vlogs/mypage_log combined
</VirtualHost>

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.

optikool
aka
optikoolillusion
 
Old 10-07-2003, 12:17 AM   #2
simplico
Member
 
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


http://www.redhat.com/support/resour...e-FAQ/x33.html
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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