I’ve got a problem with Apache2 on my Linux Debian server. When I try to create .htaccess file, it does not appear. In apache2.conf I’ve got the .htaaccess configuration.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I can think of 2 possibilities – you do not have permissions to create the file or you are trying to view the file and unable to as it is hidden.
Use sudo or su to switch to root
sudo nano .htaccessOR most likely
A file proceeded by a
.(dot) in linux will not be seen unless you enable view hidden files in a file manager or runls -afrom a terminalIf using FTP the viewing will depend on your FTP client. For a GUI option such as filezilla will display hidden files automatically