PDA

View Full Version : Telnet, chmod,"Hey...where'd that page go ?


Amigaman
11-13-1999, 02:21 AM
Hi,
[nbsp][nbsp] I just uplaoded a little cgi script & form that lets the visitor design his own page. I Telnetted in and chmodded my files, correctly I thought. I'm new to telnet. I tried the form and, instead of an Internal server Error, i got a 404 Page not found - "homepage.pl". I know I put it in the cgi-bin.

Deb
11-13-1999, 03:17 AM
When I go to http://www.virtualthought.com/cgi-bin/homepage.pl I see an Internal Server Error ...

It seems you didn't upload the file in ASCII .. you'll need to upload in ASCII for it to work.. check out http://www.aota.net/Script_Installation_Tips/ascii.php3

Deb
[nbsp]--
[nbsp][nbsp] ASCII and ye shall receive.

Amigaman
11-13-1999, 02:33 PM
I re-uploaded my cgi script in my cgi-bin as an ASCII file and re-chmodded it to 755, then re-chmodded the "userpages" directory to 777; and the index.html & data.txt to 777. I still get a "404 page not found" error. I have never once been able to get a cgi script to run, on any server I've been on - even though I follow instructions to the letter.

Deb
11-13-1999, 04:12 PM
What URL are you viewing when you see the 404 error?

Amigaman
11-13-1999, 05:08 PM
http://www.virtualthought.com/big/dom/xvirtualthought/cgi-bin/homepage.pl

elite
11-13-1999, 05:12 PM
http://www.virtualthought.com/cgi-bin/homepage.pl is the url to your script. The link you just posted includes the server "paths" */big/dom/xvirtualthought/* in it. Those are not used on links, rather the paths for the script.

Deb
11-13-1999, 05:22 PM
You've got everything working now :) It's just a matter of going to the correct url..

If you visit http://www.virtualthought.com/community/userpages/ you will be able to use the script...

Deb

Amigaman
11-13-1999, 05:27 PM
Thanks for the paths correction. Now I just have to check the script and see why my background graphic didn't come up. Maybe I have to re-upload the graphics as binary.

teach1st
11-13-1999, 05:45 PM
Where did you get the script? My students might like something like that.
Thanks!
fred

Amigaman
11-13-1999, 08:34 PM
it's a freebie, as long as nobody charges. But I don't like the finished page. I'm in search of something better. There was one that wasn't a freebie. It had upload capability of viewer's graphics, etc. But it might be a security problem with upload capability. It also had a lot more intricate an installation. It had administrator control, with viewer automatic new password generation; and assignable time limits to access. It was a 30 day demo, with $100 or so if you registered it. Homepage was basically a demo for me on getting a script to run.[nbsp]