Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU |
Ted, I tried you setting using the /var/www/html basically dropping the website piece and I'm still getting a Forbidden error. I've even tried changing the cgi-bin directory to 777 and making the user and group apache/apache. still no go. please keep the ideas coming.I saw Nathan's suggestion, but I'm not sure if that would help me at this point. If I'm getting these errors should I get basic CGI/Perl working before adding in something else? -RS -----Original Message----- From: Ted Swoyer [mailto:tswoyer at sworby.net] Sent: Thursday, August 18, 2005 10:06 PM To: Ronny Serrano; discuss at blu.org Subject: Re: Apache/Perl question Ronny, On my server, my config file uses the following model: Alias /website "/var/www/website/html" <Directory "/var/www/website/html"> Options Indexes FollowSymLinks MultiViews ExecCGI AddHandler cgi-script .pl AllowOverride None Order Allow,Deny Allow from all <Directory> I have the /var/www/cgi-bin directory entry as you show it. I don't have a separate AddHandler line as you show it (it is commented out). Unless I am missing some other parameter, this seems to allow me to run various perl scripts from my server. My config file provides support for more than one web site and the Directory entry shown above is repeated for any "website" that requires perl. Hope this helps, Ted Swoyer tswoyer at sworby.net SWORBY, LLC Computer Support, Consulting and Training for Businesses and Individuals (978) 667-8558 www.sworby.net ----- Original Message ----- From: Ronny Serrano <mailto:RSerrano at heartsonfire.com> To: discuss at blu.org Sent: Thursday, August 18, 2005 9:41 PM Subject: Apache/Perl question Hi all. I'm a little new to linux and apache. I've been able to get by in most situations using google and linux resources on the net to answer most questions. Unfortunately this one is starting to get to me and I could use a lil help. I have a server that is running linux and apache on it at a hosted site. A new requirement we have is to run some perl scripts on the box. I've gone in and modified the httpd.conf file and restarted apache. The following are the entries that I modified were the following: ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> AddHandler cgi-script .cgi .pl On the options line I've tried ExecCGI, +ExecCGI and All. The directory/scriptalias points to the correct directory. I've set the rights on the script as 755. For some reason I get a Forbidden or a 403 everytime I try to run one of these scripts directly over http. The scripts are placed in the /var/www/cgi-bin directory. What am I missing? I'm not using any .htaccess file.. Not that I know of. Should the rights to the cgi-bin directory be 755 also? Any help would be greatly appreciated. Ronny Serrano Network Administrator _____ _______________________________________________ Discuss mailing list Discuss at blu.org http://olduvai.blu.org/mailman/listinfo/discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.blu.org/pipermail/discuss/attachments/20050818/b5c97c14/attachment.html>
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |