homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Setting permissions on htaccess

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

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. :)




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

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)

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)

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)

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

Off to hunt that critter down...



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

the problem must lie elsewhere

What exactly is the problem?


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

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)

My ftp software has a "parameter" setting option of "-a"
to view all files.


 3:47 pm on Jun 24, 2003 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved