Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Cgi Script


  • Please log in to reply
7 replies to this topic

#1 copywriter

copywriter

    HR 7

  • Moderator
  • 1,807 posts
  • Location:South Carolina, USA

Posted 08 October 2003 - 10:49 AM

Hi'ya,

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.

Thanks!

#2 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,375 posts

Posted 08 October 2003 - 11:05 AM

Karon, email me your ftp info and the files that need the permissions changed, and what they need them changed to, and I'll do it for you.

You can usually do this fairly easily with your ftp program.

J

#3 copywriter

copywriter

    HR 7

  • Moderator
  • 1,807 posts
  • Location:South Carolina, USA

Posted 08 October 2003 - 11:19 AM

Thanks... I just emailed you.

If you figure it out, or if someone else knows how to do this in DreamWeaver, will you let me know?

#4 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 08 October 2003 - 11:48 AM

I'm not sure if they made it any easier in MX than it used to be (I don't teach Dreamweaver anymore) but in DW4 it was a bit of a pain when compared to the point and click ease of other FTP software.

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.

#5 copywriter

copywriter

    HR 7

  • Moderator
  • 1,807 posts
  • Location:South Carolina, USA

Posted 08 October 2003 - 11:55 AM

Thanks Randy... I'll take a look.

#6 copywriter

copywriter

    HR 7

  • Moderator
  • 1,807 posts
  • Location:South Carolina, USA

Posted 08 October 2003 - 12:05 PM

OK, stupid question #612... how do I know the file name of the script (i.e., "script.pl)?

This is my very first attempt at installing a script so it's very much "learn as I go."

#7 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 08 October 2003 - 04:08 PM

It depends upon what you're uploading Karon. It could be named pretty much anything. The only constant is that Perl scripts will always have a .cgi or .pl extension, so you can look for those I suppose.

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.

#8 copywriter

copywriter

    HR 7

  • Moderator
  • 1,807 posts
  • Location:South Carolina, USA

Posted 08 October 2003 - 04:13 PM

Will have to consider getting CuteFTP or something.

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!! :wacko:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users