Natvigation bar |
Tutorials--Deleting problem .htaccess IntroductionSometimes we may put a .htaccess on our site to create password-protected directories. However, a problem .htaccess can also cause great inconvenience since you kept getting an 500 error and cannot access that directory. Moreover, .htaccess file is invisible through ftp, thus impossible to delete it through ftp. SolutionIt is impossible to delete .htaccess through ftp. However, we can use our shell access to delete the .htaccess file as it is visible in shell. How to work it out?First download putty. You may download it by the link in the change password tutorial or some where else. Then follow the instruction about login in the change password tutorial. You should be logged in before carrying out the follow steps. After typing your username and password and logged in successfully, your should see the beigetower logo below: __________________________________________________ Next, you can use the command 'cd' to change the directory
to the one which contains that .htaccess file. The command should be: cd public_html/abc.beigetower.org/html/secure Then use the command 'ls' to make sure the .htaccess file is in that directory. Type the command: ls -a Make sure you find the .htaccess your want to delete. rm .htaccess Don't forget to log out after using your shell!
|