Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 11th, 2005, 05:26 AM
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default running CGI in Apache-Linux

I want to run some cgi's in Apache (i have installed tinderbox)Now when it tries to run cgi from the browser it tells this message.

Forbidden
You don't have permission to access /tinderbox/addnote.cgi on this server.


--------------------------------------------------------------------------------

Apache/2.0.46 (Red Hat) Server at epilinux Port 80

for every cgi ont there i did scripalias and added that thing now wht do i need to do .... ?
Reply With Quote
  #2 (permalink)  
Old March 16th, 2005, 10:35 AM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

most likely you need to set the permissions for that file to be executable for the user that apache is running as.

from the command line:
chmod 755 /path/to/tinderbox/addnote.cgi

any good?



--
Don't Stand on your head - you'll get footprints in your hair. http://www.charlieharvey.org.uk
Reply With Quote
  #3 (permalink)  
Old March 29th, 2005, 04:51 AM
Registered User
 
Join Date: Mar 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi guys

I got the solution. I have modified httpd.conf file and allowed to run cgi. The user problem also i solved by modifying same file.

Sunil Parmar :)

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help! on CGI Error heerajee Pro PHP 0 February 2nd, 2006 05:17 AM
CGI Timeout EricS Beginning PHP 3 January 24th, 2005 01:50 AM
Having trouble running Apache RonnieGill BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 9 July 22nd, 2004 11:53 AM
indexing and searching html using PHP+apache+Linux gireeshnair Pro PHP 1 October 21st, 2003 07:05 AM



All times are GMT -4. The time now is 08:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.