Solved

dumb error ??

Posted on 2002-07-26
2
140 Views
Last Modified: 2010-03-05
I'm trying to set up a cron job for my cgi-script. But i'm getting the following error-message:

Permission denied at /home/wantedto/www/cgi-bin/2mripper.cgi line 76.
Content-type: text/html

I assume this means the line 'Content-type: text/html' may not be executed, but it must because I will get an error 500 message if i delete that line.  

My host is 2mhost.com, their support staff seem to be on vacation... i haven't heard from them since 3 days.
0
Comment
Question by:michael123199
2 Comments
 
LVL 10

Accepted Solution

by:
rj2 earned 50 total points
ID: 7181644
If the line in the script says just "Content-type: text/html", try to change it to  

print "Content-Type: text/html\n\n";

Also try to run command below
chmod 755 2mripper.cgi
0
 
LVL 12

Expert Comment

by:lexxwern
ID: 7183061
post the code here if whats mentioned above doesn't work.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question