Could not open htaccess file /home/tehsnipe/public_html/.htaccess

Status
Not open for further replies.

slashmaster

New Member
Messages
6
Reaction score
0
Points
0
I have changed my domain name after the boru server change over and now i want to delete the redirect. it wont delete and when i try to delete it i get the error
Redirect RemovedCould not open htaccess file /home/tehsnipe/public_html/.htaccess
There was an error removing the redirect:

Show Details

Could not open htaccess file /home/tehsnipe/public_html/.htaccess
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Try going to cPanel-->File Manager and using the Editor (or go in via FTP) to edit out the redirect instructions in your .htaccess file manually.
 

slashmaster

New Member
Messages
6
Reaction score
0
Points
0
i get this when i try and save it.
open .htaccess failed: Permission denied at cpanel line 4774
Carp::croak('open .htaccess failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1152
Cpanel::Fileman::fmsavefile('%2fhome%2ftehsnipe%2fpublic_html', '.htaccess', 'RewriteEngine on^M^JRewriteCond %{HTTP_HOST} ^boomhogwarts.co.cc.c...', '', 1) called at cpanel line 4774
main::__ANON__('%2fhome%2ftehsnipe%2fpublic_html', '.htaccess', 'RewriteEngine on^M^JRewriteCond %{HTTP_HOST} ^boomhogwarts.co.cc.c...', '', 1) called at cpanel line 1335
eval {...} called at cpanel line 1335
main::real_exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel line 3876
main::dotag_finished_headers(0) called at cpanel line 3704
main::cpanel_parseblock('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"^J^I...') called at cpanel line 3612
main::cpanel_parse('GLOB(0xc9adbc0)') called at cpanel line 5121
main::run_standard_mode() called at cpanel line 424
 

MaestroFX1

Community Advocate
Community Support
Messages
1,577
Reaction score
60
Points
0
Set file permission to 644 and try again.
 

slashmaster

New Member
Messages
6
Reaction score
0
Points
0
It was already set to 644 and i could not change it. Ive sorted it now. I have no idea how though.

Close thread if you want.
 
Status
Not open for further replies.
Top