homepage Welcome to WebmasterWorld Guest from 54.205.189.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
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
How?
CromeYellow




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

Cy

 

DrDoc




msg:1516663
 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.

rogerd




msg:1516664
 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.

DrDoc




msg:1516665
 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.

CromeYellow




msg:1516666
 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...

Cy

DrDoc




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

the problem must lie elsewhere

What exactly is the problem?

ScottM




msg:1516668
 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?

wilderness




msg:1516669
 12:32 am on Jun 21, 2003 (gmt 0)

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

DaveAtIFG




msg:1516670
 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