Welcome to WebmasterWorld Guest from 54.205.60.49

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Setting permissions on htaccess

How?

   
12:33 pm on Jun 19, 2003 (gmt 0)

10+ Year Member



Hi all

I'm not sure if this is even a valid question, but I'm trying to make a password system work and I'm wondering if the .htaccess file needs permissions set to, say, 777.

I'm using CuteFTP and I can't see the htaccess file on the server, and as I normally set permissions with a right-click on the file and choosing CHMOD, I can't see how to do it. (Or even know if I need to)

Someone put me out of my ignorance. :)

Cy

7:07 pm on Jun 19, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



First, you don't need to set any permissions on the .htaccess file. And, if you really have to for some reason (read/write function in a script) you can write a quick script that will chmod the file for you.

Now, the reason you can't see the file in your FTP program depends on the server settings. Some providers block all .h* files from being seen in the folder tree (for security reasons). That doesn't mean the file isn't there, you just can't see it.

7:12 pm on Jun 19, 2003 (gmt 0)

WebmasterWorld Administrator rogerd is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Crome, some FTP programs have a setting for "show hidden files" or similar. You might check that out, too.
7:53 pm on Jun 19, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The file isn't "hidden"...
Information about the file is never sent to the FTP program in the first place. This is handled on the server side and has nothing to do with showing hidden files.
The FTP program doesn't know whether the file exists or not.
7:56 am on Jun 20, 2003 (gmt 0)

10+ Year Member



OK, thanks folks. If I don't need to set permissions, the problem must lie elsewhere.

Off to hunt that critter down...

Cy

9:06 pm on Jun 20, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member



the problem must lie elsewhere

What exactly is the problem?

9:23 pm on Jun 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use CuteFtp and have no problems seeing my .htaccess file so there must be something else going on?
12:32 am on Jun 21, 2003 (gmt 0)

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



My ftp software has a "parameter" setting option of "-a"
to view all files.
3:47 pm on Jun 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Using the CuteFTP Site Manager>Edit>General Tab>Check the "Enable Filter" box. Click on the Filter button beside it, on the Options tab, check "Enable remote filters" and add "-a" to the "Remote filter:" field.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month