LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-18-2005, 11:02 PM   #1
shizzle
LQ Newbie
 
Registered: May 2005
Posts: 6

Rep: Reputation: 0
500 internal error when running test.pl


Poste earlier, and i still cant get scripts to run on my site.. trying to run test.pl and i get 403 FORBIDDEN.

here's some lines from my httpd.conf


ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

AddHandler cgi-script .cgi .pl

<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
# UserDir "disable"

#
# To enable requests to /~user/ to serve the user's public_html
# directory, use this directive instead of "UserDir disable":
#
UserDir public_html



<Directory "/">
Options ExecCGI FollowSymLinks

AllowOverride None



</Directory>

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks

AllowOverride None
Allow from all


Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews

AllowOverride None
Allow from all


Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all


Order allow,deny
</Directory>

<Directory "/home/sh0wtime/public_html/MP3z">
Options Indexes FollowSymLinks Includes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory "/home/sh0wtime/public_html">
Options +ExecCGI FollowSymlinks

AllowOverride None
Allow from all
Order allow,deny
</Directory>
 
Old 05-19-2005, 06:39 AM   #2
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
First glance, I'd say it's most likely the permissions on the file.

chmod it to give it read and execute rights for all users, and see if that helps.
 
  


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
mod_jk build successful, but 500:internal error Lzolcsi Linux - Enterprise 2 11-29-2005 11:35 AM
Additionally, a 500 Internal Server Error error was encountered while trying to use a ukrainet Linux - General 10 06-24-2005 02:23 AM
Internal Error 500 cannot be fixed cpanelskindepot Linux - General 1 10-25-2004 12:46 PM
HELP! CGI problem : HTTP 500 - Internal server error eech55 Programming 2 10-11-2004 11:27 AM
dns and 500 internal server error.. Flawless Slackware 4 08-23-2003 11:08 PM


All times are GMT -5. The time now is 06:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration