Home > Cpanel Server > .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

October 15th, 2008 Leave a comment Go to comments

If you are getting “(13)Permission denied: /home/username/public_html/logo/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.yourdomain.com/logo/index.html” error in  apache error logs file /usr/local/apache/logs/error_log as well as the site is showing 403 Forbidden Error.

Then first please check the permissions of your folder and .htaccess file because folder permission are most likely 755 and .htaccess permission 644 . To change permissions use : chmod 644 the_name_of_your_path after that still you are getting same problem,then might be Frontpage Extension problem.

* Login into your CPanel account
* Click on Frontpage Extensions icon
* Click on Reinstall extensions button beside your problem domain.
* Done.

The .htaccess pcfg_openfile: unable to check htaccess file problem  will be fixed.

  1. July 28th, 2009 at 17:25 | #1

    i continue having this problem even after i did like You said!!!!! This issue is driving me crazy!!!! Any help apriciated!
    Thanks alot!!!!!

  2. May 29th, 2010 at 07:51 | #2

    Tanks !……..

  3. August 2nd, 2010 at 17:29 | #3

    I have already use your tips and worked !
    But now I have face this problem again and this tips not work

    Arthur :
    i continue having this problem even after i did like You said!!!!! This issue is driving me crazy!!!! Any help apriciated!
    Thanks alot!!!!!

    Same here

  4. nisamudeen
    September 3rd, 2010 at 13:32 | #4

    Hello,

    Please ensure /public_html/ directory group user is nobody
    Fix it using command chown “username”:nobody /public_html

  5. September 7th, 2010 at 14:21 | #5

    Thank you. You’re suggestions worked for me.

  6. October 31st, 2010 at 23:03 | #6

    Hello Jerry,

    In PHP suphp environment you will have to create copy the system php.in under that particular client document root. then search disable_functions option in php.ini file and add php function which you want to disable it for particular account.

    here example

    disable_functions =”shell_exec,system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,
    proc_open,proc_terminate,highlight_file,escapeshellcmd,define_syslog_variables,
    posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,
    posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,
    ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,ftp_raw,
    tp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,
    define_syslog_variables,apache_setenv,mysql_pconnect “

  7. April 17th, 2011 at 09:16 | #7

    Thanks. Ive been working on this error for hours trying everything. And this did the trick :) I just used this on public_html and everything is now working

    chmod 755 -R public_html

  8. Hubert
    September 9th, 2011 at 18:14 | #8

    If you are using a cPanel account make sure your public_html folder has “nobody” as the group.

    susEXEC makes Apache very strict about ownership! Its happened to me on more than one occasion where the public_html folder can inexplicably change its group ownership to match that of the user and cause the site to go down with Permission 13 errors seemingly related to an unreadable .htaccess file.

  9. November 7th, 2011 at 09:38 | #9

    On cpanel server for public_html folder ownership should be username.nobody and permission should be 750
    For any other directories and files permission depends on exact type of the server but generally it is 755 for folder and 644 for files.