Previous Thread
Next Thread
Print Thread
Rate Thread
#101865 12/28/2000 11:24 PM
Joined: Dec 2000
Posts: 5
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 5
I am pretty new to perl and cgi.pm over all. I was working with a script yesterday to see if I could get anywhere and I came up with this. I get a internal server error when i run it. Thanks in advance for any help.

**Updated code, still not working**

Code
code:

This message has been edited by Woody on December 28, 2000 at 10:46 PM

Sponsored Links
#101866 12/29/2000 6:41 AM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Works perfectly fine for me. Did you set your permissions?

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#101867 12/29/2000 2:42 PM
Joined: Dec 2000
Posts: 5
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 5
Yes. What did you set it at. Maybe I did that wrong.

#101868 12/29/2000 2:53 PM
Joined: Sep 2000
Posts: 1,304
Addict
Addict
Offline
Joined: Sep 2000
Posts: 1,304
CHMOD it to 755 or 777 whichever works for you.

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

#101869 12/29/2000 3:26 PM
Joined: Dec 2000
Posts: 5
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 5
Tryed both of those. Still no luck. I tryed it on two different servers so I must be doing something wrong.

Sponsored Links
#101870 12/29/2000 3:35 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
Joined: Sep 2000
Posts: 755
Double check your permissions (755, not 777. .cgi files should never be 777). Make sure you uploaded in ascii (if you use cute_ftp that could be the problem...new versions are known to suck and not work correctly in ASCII mode. get ws_ftp), and make sure your perl path is right.

I just cut and past your code onto my server with no changes. Set the permissions and up it went.

--mark


"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
#101871 12/29/2000 4:48 PM
Joined: Dec 2000
Posts: 5
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 5
I uploaded it with WS_FTP in ASCII. It is chmoded to 755. The path is currect. I still get the error. I am out of ideas with it now.

#101872 12/30/2000 11:03 AM
Joined: Aug 2000
Posts: 37
Member
Member
Offline
Joined: Aug 2000
Posts: 37
okay, on some servers, you can only execute perl scripts in one folder (usually called cgi-bin) and try to chmod the folder itself to 755, or 777 i dont think it really matters

------------------
check out my site at http://www.ultimategamers2000.com

#101873 12/30/2000 1:40 PM
Joined: Dec 2000
Posts: 5
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 5
cgi-bin is chmoded 755. Still is not working.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)