Web Hosting Talk







View Full Version : .htaccess with Plesk


KevlerS
01-31-2002, 01:41 PM
With my own .htaccess file, I was actually trying to define my own HTML files for error messages (most of them, from 401 to 504). And also, for sections of the web site that are no longer active, my own .htaccess file so that a 404 error message in that particular directory is associated to a file explaining that the section is not available, etc., instead of the standard 404 error. Having an error_docs directory is not enough for me. Am I able to upload my own .htaccess files, yes or no? And how? Actually, I just tried what you mentioned and in that new protected directory I created, I did upload my .htaccess file, but the file did not appear. Later, when I de-protected the directory and tried to
erase it, CuteFTP said the directory was not empty. So that's it? The file CAN be uploaded but is "hidden"?

MattMans
01-31-2002, 01:46 PM
On a *nix environment, files beinginning with a . (full stop) are hidden.

You can see them from a shell by typing the "ls -la" command.

Regards

Matt

Jackmaninov
02-02-2002, 06:18 PM
CuteFTP should have an option to display hidden files. But even though a .htaccess file is hidden, it will continue to work, and CuteFTP should be able to overwrite it if you try to upload a new one.

serve-you
02-03-2002, 02:52 AM
http://plesk.com/html/support/faq/psa20/proftp.htm#q2

-Dan