Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Cannot get this to work  (Read 323 times)
0 Members and 1 Guest are viewing this topic.
dhamway
New Member
*

Karma: 0
Offline Offline

Posts: 0

Business Analyst


WWW
« on: August 12, 2005, 08:49:00 AM »

Hello.  I checked with my hosting company and they said the path to PERL is user/bin/perl.  I have that at the top of my script and I am getting "Internal Server Error".  I changed all the CHMODs to 777 and then i received "The script /usr/local/psa/home/vhosts/allshewroterocks.com/cgi-bin/calendar.pl cannot be world writable."  So again, i changed it to be CHMOD 744 and it returned the first error above.  As per your website, i ONLY changed the calendar.pl and calendar_admin.pl CHMODS.  All the other folders and files are 777.  Can someone help out?

------------------
Darren, All She Wrote
AIM - dhamway76
Yahoo - taudelt39

Logged

Darren, All She Wrote
AIM - dhamway76
Yahoo - taudelt39
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: August 12, 2005, 12:14:00 PM »

** the path to PERL is user/bin/perl. **

Are you *absolutely* certain??

I've never seen such a path to Perl used, usr/bin/perl is a common one though. Check your host's CGI FAQs if in doubt.

** I changed all the CHMODs to 777 and then i received "The script /usr/local/.../cgi-bin/calendar.pl cannot be world writable." So again, i changed it to be CHMOD 744 and it returned the first error above. **

Many servers do not allow files or directories to be chmod to 777. It can be a security risk.

Script files (with a file name ending .pl or .cgi) should only need permissions of 755 (or 775 depending on the server set up), data files and their directories should only need permissions of 666 (or 766 depending...).

Dan O.


[This message has been edited by DanO (edited August 12, 2005).]

Logged
dhamway
New Member
*

Karma: 0
Offline Offline

Posts: 0

Business Analyst


WWW
« Reply #2 on: August 12, 2005, 08:41:00 PM »

Sorry, i meant usr, not user.  Yes, i have that...ive tried everything.  this sucks. What do I do.

------------------
Darren, All She Wrote
AIM - dhamway76
Yahoo - taudelt39

Logged

Darren, All She Wrote
AIM - dhamway76
Yahoo - taudelt39
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: August 12, 2005, 09:06:00 PM »

** What do I do. **

Check with your host's support??

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: