View Full Version : Why arent the htaccess files showing to user?
proweb
03-07-2007, 07:12 AM
Ok stupid question where are the .htaccess files?
Is mod rewrite part of dsm or does it have to be added and more importantly why cant I see my htaccess files?
Jeremy
03-07-2007, 09:37 AM
Where cant you see them?
ftp? ssh? http?
In the httpd.conf look for a line called... AccessFileName i think...
Running /usr/local/apache/bin/httpd -L|grep .htaccess should verify its active.
proweb
03-07-2007, 04:14 PM
I cant see the file in file browser or in ftp to edit them at all
Jeremy
03-08-2007, 02:50 AM
I never used the filemanager but i see what you mean.
Odd for the ftp to block it, i would check and see if its hiding .anything files.
Or make sure its ownd by the user, not as root or anything else.
You cannot see files that begin with a "." to include .htaccess files via the file manager.
Proftpd has this turned off by default. A link to the docs is below.
http://www.proftpd.org/docs/directives/linked/config_ref_ListOptions.html
In short:
Add the below line to your /etc/proftpd.conf file and restart proftpd.
ListOptions "-a"
proweb
03-08-2007, 09:06 AM
Thanks, that worked, thought for a minute was going to have to switch control panels whew;)
Jeremy
03-08-2007, 09:35 AM
Aww paul!
Had to give the answer!
Jeremy
03-12-2007, 07:16 AM
BTW what FTP client were you using?
I use FlashFXP and i don't have any issues for listing .files i haven't added any real extras to my config or at least i don't think i did.
vBulletin v3.5.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.