#1  
Old 28th April 2009, 16:46
gkovacs gkovacs is offline
Member
 
Join Date: Jan 2009
Location: Budapest, Hungary
Posts: 47
Thanks: 5
Thanked 0 Times in 0 Posts
Default .htaccess not visible from ftp

If I upload a .htaccess file via FTP, it becomes invisible as soon as I refresh.
(This is a newly created, empty site and new ftp user to avoid any problems.)

I can see the file from the shell fine:
Code:
root@ispconfig:/var/clients/client4/web40/web# ls -la
total 36
drwxr-xr-x 4 web40 client4 4096 Apr 28 16:44 .
drwxr-xr-x 6 root  root    4096 Apr 28 16:18 ..
-rw-r--r-- 1 web40 client4    9 Apr 28 16:35 .htaccess
-rw-r--r-- 1 web40 client4    9 Apr 28 16:44 a.htaccess
drwxr-xr-x 2 web40 client4 4096 Apr 28 16:18 error
-rwxr-xr-- 1 web40 client4 1406 Apr 28 16:18 favicon.ico
-rwxr-xr-- 1 web40 client4 1861 Apr 28 16:18 index.html
-rwxr-xr-- 1 web40 client4   34 Apr 28 16:18 robots.txt
drwxr-xr-x 2 root  root    4096 Apr 28 16:18 stats
From this list, a.htaccess is visible from FTP, while .htaccess is not:


What gives?

Last edited by gkovacs; 28th April 2009 at 16:49.
Reply With Quote
Sponsored Links
  #2  
Old 28th April 2009, 17:46
SirLancelot SirLancelot is offline
Member
 
Join Date: Jul 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Look Here:-

http://how2forge.net/perfect-server-...#comment-11759
Reply With Quote
  #3  
Old 28th April 2009, 20:09
gkovacs gkovacs is offline
Member
 
Join Date: Jan 2009
Location: Budapest, Hungary
Posts: 47
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Thanks for the idea, but the problem is NOT CAUSED BY the DisplayDotFiles config directive of Pure-FTPD.

I have a site where I can see .htaccess files from FTP, while on another one I cannot, regardless of DisplayDotFiles setting. Any other idea?
Reply With Quote
  #4  
Old 29th April 2009, 00:57
SirLancelot SirLancelot is offline
Member
 
Join Date: Jul 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure if I am reading your issue correctly but from you screen captures and description it looks as though you can see "a.htaccess" but not ".htaccess" of course you will see "a.htaccess" because it does not begin with a "."
Reply With Quote
  #5  
Old 29th April 2009, 03:47
gkovacs gkovacs is offline
Member
 
Join Date: Jan 2009
Location: Budapest, Hungary
Posts: 47
Thanks: 5
Thanked 0 Times in 0 Posts
Default

You might want to read what I wrote again.
Reply With Quote
  #6  
Old 29th April 2009, 10:08
SirLancelot SirLancelot is offline
Member
 
Join Date: Jul 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What ftp client are you using?
Is there an option in your ftp client to show/hide hidden files?
Have you tried any other ftp clients?
This may be distribution related, what Linux Distro is your server using?
From your first post there is no indication if you have enabled the DisplayDotFiles config directive.
Reply With Quote
  #7  
Old 29th April 2009, 10:19
tebokkel tebokkel is offline
Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 96
Thanks: 0
Thanked 9 Times in 9 Posts
Default

Perhaps an explicit filter on .htaccess filenames in PureFTPd?

Or perhaps a custom setting on the FTP-client? Does a local (commandline) FTP show or hide the .htaccess?

Paul
Reply With Quote
  #8  
Old 1st May 2009, 02:12
ggarcia24 ggarcia24 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 20
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

I know that Filezilla (that's what it looks to me) have an option to "not list" hiddend files, I'm remembering it right now but as soon as I get home i'll post where is it ;-)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 08:03
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 09:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.