homepage Welcome to WebmasterWorld Guest from 54.204.94.228
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

    
.htaccess file disappears after directory refresh? ;-(
.htaccess file disappears after directory refresh?
StopSpam




msg:1500997
 8:35 pm on Mar 25, 2003 (gmt 0)

Hi all ...

I friend asked me if i could install a cgi script onhis webserver .. sure i said ..

i have installed scripts before no problem i thought..

myself i have unix apache ...

his server is unix apache red hat

all files seams to be working eccept one script that requires a .htaccess file.. and as soon i upload the htaccess and i do with the ftp client refresh directory the .htaccess file is gone ;-( is it hiddenor reallty gone?

the script contains path to the .htaccess but he can not read it as well

is this normal for linux redhat ..
can i not use files named .htaccess?
or should i rename them?

please help

thx

 

stevedob




msg:1500998
 8:45 pm on Mar 25, 2003 (gmt 0)

The ftp client grabs the directory listing by performing a standard directory listing (ls) and displaying the results. Some clients appear to request it as 'ls -l', others as 'ls -al'. In the first case, as it would appear your client works, it doesn't get to see any entries that begin with a period. The file is on the server, you just don't get to see the entry.

andreasfriedrich




msg:1500999
 9:08 pm on Mar 25, 2003 (gmt 0)

Most FTP programs allow you to specify the options used to do the directory lookup. Adding the -la option will make your .htaccess file show up.

Andreas

StopSpam




msg:1501000
 9:21 pm on Mar 26, 2003 (gmt 0)

Yes but the script i have installed needs tocomunicate with the .htaccess but if its noty visable it can not read it as well...

i got myself a unix apache server and then my ftp client can see .htaccess files.

but on this linux red het server the .htaccess file get invisab;le as soon i refresh folder... the script csan write to it but can not read the .htaccess file wird is it ;-( im stuck here...

StopSpam




msg:1501001
 1:13 pm on Mar 31, 2003 (gmt 0)

i check ftp options it has option to hidden or show file names that start with a priod ..

i gue si just not allowed onthat serverto see them ..
it makes no chnages if i turn on off that option ...

thx for reply

aroach




msg:1501002
 5:44 am on Apr 21, 2003 (gmt 0)

I have the same problem. I know my .htaccess file is on the server because my custom 404 is working.

However, I can't see the file, alter the file, or delete the file. I use Cute FTP and see no option to show hidden files or files that start with a period or any of that. I know I used to be able to see it but don't know at what point it disappeared since I had no need to alter until now.

My web host is zero help since he gives me free space and bandwidth on his server but doesn't provide any type of support.

Do I just need to go download another FTP program or have my permissions on the server gotten screwed up somehow?

aroach




msg:1501003
 2:23 pm on Apr 21, 2003 (gmt 0)

Okay, I found out how to make CuteFTP view hidden files over at their support website. It was not anything I'd have ever figured out on my own.

But know whenever I log on to the server via CuteFTP instead of being presented with a list of just my own sites and files I am greeted with a list of every site on the server and have to hunt for my own. This just doesn't seem right either.

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