Solved

dumb error ??

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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 video discusses moving either the default database or any database to a new volume.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now