View .htaccess / Hidden Files in CuteFTP

I was testing a new host and ran across the problem of hidden files. Apparently any .ht file (i.e. .htaccess) is considered “hidden” by some hosts and therefore cannot be viewed when using CuteFTP and other programs. So how do you view .htacccess / hidden files in CuteFTP?

You must use “Server-Side Filtering”. To set it up in CuteFTP:

1. Click on “View -> Filter…”.
2. Make sure “Enable Filtering” is checked.
3. Make sure “Enable Server-Side Filtering” is checked.
4. Under “Remote Filter” type “-a”.
5. Click “OK”

hidden-file-filtering.jpg

How-To: Enable Mod_Rewrite on Apache2

In order to enable Mod_Rewrite on Apache2 / Ubuntu:

sudo a2enmod rewrite

You will then need to reload Apache for the addition to take effect:

sudo /etc/init.d/apache2 force-reload