Solved

dumb error ??

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SIMPLE Perl Regex 1 159
Filtering a file to table 9 101
syslog unix file 20 73
perl: Cleaning meta tags using RegEX 12 79
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

773 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