*** Cannot view .htaccess files
First, make sure your FTP client is actually set to view hidden files. If it is, and you still can't see any of your .htaccess files using an FTP connection, try the following:
Open the main ProFTP config file:
vi /etc/proftpd.conf
And look for the 'ListOptions' directive. If it doesn't exist, add the following:
ListOptions "-la"
Then save the changes and restart the proftpd daemon.
This will make all hidden files - i.e., file preceded by a '.' - viewable in long-format. The global tags apply the changes server-wide.
*** Timestamp shown on files is wrong
If the timestamp on the files appears to be an hour or so out, ProFTP might not be using the correct timezone. To change the time, open proftpd.conf and add the following:
SetEnv TZ BST
In this example, the SetnEnv directive sets ProFTP to use British Summer Time, but you can use any valid timezone abbreviation, as required, e.g. GMT, CEST, etc.
0 comments:
Post a Comment