Are you a Google Analytics enthusiast?
More SEO Content
Posted 08 October 2003 - 10:49 AM
I need some help with setting up a split tracking cgi script on my hosting server.
I've uploaded the files to my cgi bin, but now need to change the "permissions" on two folders to a certain setting.
How do I do that? I'm using DreamWeaver MX and have looked all through the help section and online database, but don't see any clue as to where I go to change permissions.
Posted 08 October 2003 - 11:05 AM
You can usually do this fairly easily with your ftp program.
Posted 08 October 2003 - 11:19 AM
If you figure it out, or if someone else knows how to do this in DreamWeaver, will you let me know?
Posted 08 October 2003 - 11:48 AM
Here are the DW4 instructions. Hopefully it's more intuitive in MX:After uploading your script from the site manager (click F8 to open Site Manager if it's not already open)
Then double click on the folder which contains your cgi script in the remote sites panel to change locations.
Using the menu list at the top of the Site Manager pane select Window and then Site FTP Log
In the FTP Command box at the top of this new window type: site chmod 755 script.pl where "script.pl" is the name of the perl script you want to change the permissions for.
You'll get a 200 CHMOD Command Successful in the bottom window if all goes well.
FYI, 755 is the typical permission setting needed for cgi scripts. But if your script documentation says something else, use that instead.
Posted 08 October 2003 - 12:05 PM
This is my very first attempt at installing a script so it's very much "learn as I go."
Posted 08 October 2003 - 04:08 PM
The name of the file will typically be in the documentation for whatever you're installing, because the scripts always need to be given higher permissions than standard html files. Otherwise known as CHMOD'ing. Do you might want to looking in the installation instructions because it will mention chmod'ing or changing the permissions for the file in question.
If you know the file name but can't find it on your server, typically those are going to be uploaded to a folder called "cgi-bin". That folder will either be at the same level as the root level where your index page would be, or sometimes one level up from that. It depends upon the server software.
Now if you want my honest opinion, you're better off using something other than DW's built-in FTP client for things like scripts and changing permissions. Unless that's changed a lot with MX. All of the other FTP software makes it much easier, and there are lots of freebie options available out there.
Posted 08 October 2003 - 04:13 PM
Thanks for all the info. I finally gave up and emailed the guy who wrote the script. He's going to install it for me. I'm off the hook!!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users