Help - Search - Members - Calendar
Full Version: how to edit or delete .htaccess?
The Planet Forums > Control Panels > cPanel/WHM > Cpanel/WHM HOWTOs
calvinvannguyen
I have servers with 2 HD, after I move amount space from HD1 to HD2, both give me full space. Why is that happend? Anyone know it?
ALso it is reset all user password that I can't access webite by using ftp.
And moreover, I got:
Error: while opening /home/vietmode/public_html/.htaccess disabled

What can I do to correct this error? Anyone know how? Many thanks for help me out.



Error: while opening /home/vietmode/public_html/.htaccess Error: while opening /home/vietmode/public_html/.htaccess Error: while opening /home/vietmode/public_html/.htaccess Apache detected an error in the Rewrite config.
fopen: Permission denied
httpd: could not open document config file /home/vietmode/public_html/.htaccess.test

. Please try again. HotLink Protection Enabled!

Allowed Referers:
http://mydomain.com
http://www.mydomain.com


Protected Extensions: Error: while opening /home/vietmode/public_html/.htaccessjpg,jpeg,gif,png,bmp
Dave#
This is a rubbish tutorial -
SarcNBit
Here is a quick how-to:

ssh into your server
su -

To edit the file:
vi /path/to/file/.htaccess

To delete the file:
rm /path/to/file/.htaccess

LOL icon_biggrin.gif

Hmm, maybe this thread should be moderated and moved? icon_wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.