Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-10-11, 01:10 PM   #1
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
Question HELP Script illiterate!

I am trying to install a script on my server. I was setting chmod settings on several of the files, and at some point while doing this, I now no longer have the right click option of CHMOD, it doesn't even appear on the list. Where did they go or what did I do to make them leave? LOL

Any help appreciated!
fetish1 is offline   Reply With Quote
Old 2003-10-11, 06:23 PM   #2
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
OK, the first problem is solved. Now everything has been loaded as per the instructions, and it says go to the full url of the init.cgi to get it set up. When I type in the full url (straight from the ftp program so I know it's the correct path) I get a "Fatal CGI ERROR" message that says no such file or directory exists. My sites are on cyberwurx. Does anyone know if I need to have them do anything to make this work, or it is yet another screw up I can attribute only to me!?!
fetish1 is offline   Reply With Quote
Old 2003-10-11, 07:35 PM   #3
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
It may mean server path.

It would look something like this,
/home/cleo/web/cgi-bin/
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2003-10-11, 11:25 PM   #4
Surfn
If you don’t take a chance the Angels won’t dance
 
Surfn's Avatar
 
Join Date: Aug 2003
Location: Earth on occasion
Posts: 8,812
Send a message via ICQ to Surfn
It sounds to me like you need to create a /cgi-bin/ folder and put all your script cgi files in it. I'm thinking if you had created the folder first the script would have installed the files there automatically. Then again I may be totally wrong.
__________________

Surfn's Links Are you a partner?

Surfn is offline   Reply With Quote
Old 2003-10-12, 12:52 AM   #5
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
Cleo,

This is what the instructions say: "You are now ready to begin the web based portion of the setup. In your browser, type in the full URL to the init.cgi file on your server. This will initialize the installation, and prepare the administrative directory." I tried what you suggested and just get a page can't be found, instead of the FATAL CGI Error message.

Surfn, I did have to create the cgi-bin folder to upload all the files, data, cgi files etc into. but when I type it in now that everything has been uploaded (and yes in case some asks in ascii) it doesn't recognize the directory on my server. That's why I wondered if it's something that I need to have cyberwurx create or if it was ok just to place a folder in the domain directory and call it cgi-bin. There wasn't one in there till I added it.

Thanks for the assistance folks...now I understand why people get paid decent money to install scripts LOL
fetish1 is offline   Reply With Quote
Old 2003-10-12, 12:57 AM   #6
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
You can't just create a cgi bin.

If there wasn't one in your web folder then it may be one level above it and you may have to create a symbolic link in your web folder to the real one.

If you are not good in terminal you may want to get help from your host.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2003-10-12, 06:44 AM   #7
Surfn
If you don’t take a chance the Angels won’t dance
 
Surfn's Avatar
 
Join Date: Aug 2003
Location: Earth on occasion
Posts: 8,812
Send a message via ICQ to Surfn
I've been on cyberwurx for years. I'm on dedicated hosting but I think they offer cgi on all their plans. I do know they while they offer it they don't set up a specific folder. I had to create the folders myself first before any of my scripts could be installed.

If you're still having problems you may want to do a work ticket or email Chris (conepuppy) they'll fix you up right away if you still need help.
__________________

Surfn's Links Are you a partner?

Surfn is offline   Reply With Quote
Old 2003-10-12, 05:34 PM   #8
fetish1
Remember to rebel against the authorities, kids!
 
fetish1's Avatar
 
Join Date: Apr 2003
Location: North Dakota AKA Frozen Hell
Posts: 401
Send a message via ICQ to fetish1 Send a message via AIM to fetish1 Send a message via Yahoo to fetish1
Cleo and Surfn,

I just popped an email off to Chris. Their help section says you can put a cgi-bin directory anywhere, but it's not working for me right now,and after seeing what you said Cleo, I am pretty sure they will have to do something if I am going to get any further!

Thanks to you both for the assistance
fetish1 is offline   Reply With Quote
Old 2003-10-12, 06:32 PM   #9
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Every host does it different. It sounds like they have their servers to run scripts anyplace unlike many hosts which have it set up so that scripts only run inside of the designated cgi-bin.

Like on the Apache install that ships with Mac OS X the web folder is called "Documents" and then above that folder is a folder called "CGI-Executables" and any scripts that need to be run have to go in there.

Seeing as some scripts expect to find a folder called "cgi-bin" inside of the web folder there are a few ways of getting around this.

One is to edit the Apache config file to either make it so that scripts can be run anyplace or to change it so that a folder inside of the web folder named "cgi-bin" is the designated place for scripts too be run. Both of these options means that you need root access to do.

You can also make a symbolic link inside of the web folder that is linked to the real folder that has been designatedto run scripts. Symbolic links are kind of like Windows shortcuts.

So for the above example if I wanted a "cgi-"bin" inside of my web folder I would type this in terminal,

First get inside the web folder
cd /Library/WebServer/Documents

Now I can make the symbolic link
ln -s /Library/WebServer/CGI-Executables cgi-bin
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2003-10-13, 03:24 AM   #10
ggross
Registered User
 
Join Date: Aug 2003
Location: rochester,ny
Posts: 75
Send a message via ICQ to ggross
Another thing you might want to check is the chmod on your cgi-bin folder. Sometimes if it is not correct, it will give you an error message. Most of the time it is chmod 755. Just a thought.

Gary
ggross is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:20 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc