Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2005, 05:26 AM
Registered User
 
Join Date: Mar 2005
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 .... ?
 
Old March 16th, 2005, 10:35 AM
Friend of Wrox
 
Join Date: Dec 2003
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
 
Old March 29th, 2005, 04:51 AM
Registered User
 
Join Date: Mar 2005
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 :)






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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.