Wes337
01-26-2002, 06:47 PM
Well For one Perl (i think perl or either cgi) i need to do this
"1, Open up each of the *.cgi in a text editor and make sure they all have the correct path to perl.
This is the first line and looks like this: #!/usr/bin/perl
Replace /usr/bin/perl with the correct path to perl.
(/usr/bin/perl is default on many unix servers so it might already be correct)
2, Upload all 4 of the *.cgi,*.pl scripts in to your cgi-bin directory.
Make sure you upload them in ASCII mode!
If you are using a unix server, chmod them to 755.
3, Upload config.txt to your cgi-bin also in ascii mode.
If you are using a unix server, chmod it to 777.
4, Create a directory called data on the server.
If you are using a unix server, chmod it to 777.
5, Run admin.cgi from the web and follow the online directions.
If it has a Internal Server Error just check over everything and see what you did wrong. "
How can i do that? thanks and BTW
please explain like
answer to question 1 is blabla not all messy and stuff. Thanks.
Precise
01-26-2002, 07:17 PM
What FTP software are you using?
BrandonR
01-27-2002, 03:11 AM
Ditch all that CGI crap and go with PHP/ASP. :)
ochiba
01-27-2002, 09:58 PM
that way I won't confuzzle you with my explanation. Please note that these tips are only for *nix servers. If you are on a W2K platform someone else will need to help you out:
1) Open up each of the *.cgi in a text editor and make sure they all have the correct path to perl.
If you use a macintosh, I believe your editor is SimpleText. For PC you can use Notepad (or download a far better texteditor here: http://www.textpad.com)
To open your *.cgi files just double-click and select notepad or whatever text editor you want to use.
To make sure that you have the correct perl path, open up that ol' "welcome" email from sales, that should have your right path in it. If it doesn't then just leave the shebang pathname as is --i.e., don't change anything!
2) Upload all 4 of the *.cgi,*.pl scripts in to your cgi-bin directory.
Make sure you upload them in ASCII mode!
If you are using a unix server, chmod them to 755.
Okay, open CuteFTP and sign on using your FTP account (this info should be in your welcome letter too)
FTP should look something like: ftp.domain.net or just an IP number
Username: your account username (it's case sensitive)
Password: your account password (it's case sensitive)
Port: default or 21
Login: normal
When you log on, you may be taking to a user account, the website directory, or a private high level directory. If you aren't sure where you are, check to see if there is a "public_html" or "web" directory. If there is, open that folder. You should then see a bin called cgi-bin. Upload all of your files as is (CuteFTP will automatically u/l the files in ASCII format for you).
To CHMOD your files highlight each one and right-click to select the CHMOD option. Then type 755. Make sure that these commands are read correctly.
3. Upload config.txt to your cgi-bin also in ascii mode.
If you are using a unix server, chmod it to 777.
Follow the same steps for 2 except type 777 ^_^
4. Create a directory called data on the server.
If you are using a unix server, chmod it to 777.
To create a new directory in CuteFTP, right-click and select the "Make New Directory" option. Then higlight the folder and CHMOD it to 777 using the steps above.
5. Run admin.cgi from the web and follow the online directions.
Now open up IE or Opera (cuz we all know Nscape sucks) and type:
http://www.yourdomain.com/cgi-bin/admin.cgi
(make sure to replace the yourdomain.com with your domain ^_^)
If it has a Internal Server Error just check over everything and see what you did wrong.
If this happens, say the F-word 3 times, glare at your monitor, and then repeat all of the steps above starting at #1. You shouldn't have a problem after that.
Hope that info helps.
good luck
ochiba
[edit: if you're using a mac, you need to download Fetch, and I haven't used that FTP in so long, I forgot most of how it works, but it's really easy to figure out and if you need help, just check out the Fetch tutorials on the internet ^_^)
Pilgrim
01-27-2002, 10:16 PM
/me salutes Ochiba.
Everybody knew the answer but nobody probably wanted to take the time to write what was no doubt going to be a very lengthy tutorial. But you did! Which probably makes you a better person then the rest of us :)