Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

dumb error ??

Posted on 2002-07-26
2
139 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…

809 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