Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    24

    Default apache 1.3.28 upgrade, now error 403

    i ran scripts/easyapache to upgrade to 1.3.28 and now every page on the server says 403 forbidden..
    in the error log here is what it says:
    (13)Permission denied: /home/user/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

    im not sure why upgrading would cause that. the files should still be readable...dont know if it has to do with permissions or owners... is this happen to anyone else? and what can i do?

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default Re: apache 1.3.28 upgrade, now error 403

    Originally posted by pr-design
    i ran scripts/easyapache to upgrade to 1.3.28 and now every page on the server says 403 forbidden..
    in the error log here is what it says:
    (13)Permission denied: /home/user/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

    im not sure why upgrading would cause that. the files should still be readable...dont know if it has to do with permissions or owners... is this happen to anyone else? and what can i do?

    cPanel.net Support Ticket Number:
    Did you check permissions on that file..?

    Brenden

    cPanel.net Support Ticket Number:

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    24

    Default

    yeah, they are all readable...they didnt change. every single file on the server in any user directory does this.

    cPanel.net Support Ticket Number:

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Check the directory and the one above it and the one above it.. etc

    cPanel.net Support Ticket Number:

  5. #5
    Member
    Join Date
    Feb 2003
    Posts
    24

    Default

    i think the problem was that it didnt like php compiled with libmcrypt.. its resolved now..

    cPanel.net Support Ticket Number:

  6. #6
    Member
    Join Date
    May 2003
    Location
    uk
    Posts
    37

    Default

    Don't need to do any thing to rid out of this B.U.G

    First run :

    /scripts/updatenow


    then run

    /scripts/enablefileprotect

    Hope it will work



    Donnie

    cPanel.net Support Ticket Number:

  7. #7
    Registered User
    Join Date
    Jul 2003
    Location
    Ohio USA
    Posts
    1

    Default

    I had a similar problem and thanks to donnie the problem is fixed. Thanks Man!
    However, when i create a new website now I have to chmod the public_html folder to 755 else I receive a 403 error. I was wondering if anyone knew how to set new websites public_html to default to chmod 755.

    I tried to chmod the root/cpanel3-skel/public_html to 755 but it didn't work.

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Dark Side, an educated guess for fixing your problem would be to now update to the newest Cpanel version -- of whichever release you are using -- since you have to do it at some point anyway.

    Let us know how it turns out.

    cPanel.net Support Ticket Number:
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  9. #9
    Member
    Join Date
    Feb 2003
    Location
    Sachse, TX
    Posts
    567

    Default

    Originally posted by DarkSide
    I had a similar problem and thanks to donnie the problem is fixed. Thanks Man!
    However, when i create a new website now I have to chmod the public_html folder to 755 else I receive a 403 error. I was wondering if anyone knew how to set new websites public_html to default to chmod 755.

    I tried to chmod the root/cpanel3-skel/public_html to 755 but it didn't work.

    cPanel.net Support Ticket Number:
    I have a similar problem too. It keeps chmodding the directory 750 instead of 751.

    cPanel.net Support Ticket Number:

  10. #10
    Member
    Join Date
    Aug 2002
    Posts
    1,052

    Default

    Code:
    root@ciphin [~]# grep 750 /scripts/wwwacct
    mkdir("$mnt/$user/public_ftp",0750);
            chmod 0750, "$mnt/$user/public_html";
    root@ciphin [~]#

    The rest of those who have gone before us cannot steady the unrest of those to follow.

  11. #11
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Originally posted by ciphervendor
    Code:
    root@ciphin [~]# grep 750 /scripts/wwwacct
    mkdir("$mnt/$user/public_ftp",0750);
            chmod 0750, "$mnt/$user/public_html";
    root@ciphin [~]#
    I'll see your 750 and raise you to 755.

    # grep 755 /scripts/wwwacct
    mkdir("$mnt/$user",0755);
    mkdir("$mnt/$user/public_html",0755);
    mkdir("$mnt/$user/public_html/cgi-bin",0755);
    mkdir("/etc/httpd/$logdir",0755);
    mkdir("/etc/valiases",0755);
    mkdir("/etc/vfilters",0755);



    cPanel.net Support Ticket Number:
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  12. #12
    Member
    Join Date
    May 2003
    Posts
    21

    Default

    I had the same prob and put in a ticket. Apparently Apache.1.3.28 has an issue with the frontpage module. If you set up an new account after upgrading you will see where it will screw up your permissions in the txt before" account created"
    Set up a bogus domain and you will see where it's at.
    Tom

    cPanel.net Support Ticket Number:

  13. #13
    Member DigiCrime's Avatar
    Join Date
    Nov 2002
    Posts
    388

    Default

    I got the same problem i sent in a ticket to cpanel about it

    cPanel.net Support Ticket Number:

  14. #14
    Member Planet_Master's Avatar
    Join Date
    Apr 2002
    Location
    New Yorker
    Posts
    260

    Default

    Quote Originally Posted by donnie
    Don't need to do any thing to rid out of this B.U.G

    First run :

    /scripts/updatenow


    then run

    /scripts/enablefileprotect

    Hope it will work



    Donnie

    That fixed it for me, thx.
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

  15. #15
    Member
    Join Date
    Aug 2004
    Posts
    6

    Default

    thanks so much guys /scripts/enablefileprotect fixed my 403 problem that occurred out of nowhere!

    -andrew

Similar Threads & Tags
Similar threads

  1. Replies: 10
    Last Post: 12-11-2010, 05:43 PM
  2. Easy Apache 403 Forbidden Error
    By KrystalS in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-22-2008, 06:33 PM
  3. What causes aa.cpgsd a 403 error Apache
    By Danny_T in forum cPGS Discussions
    Replies: 8
    Last Post: 08-26-2007, 06:21 AM
  4. error when upgrade apache
    By arabws in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-07-2007, 01:08 PM
  5. Apache 1.3.37 Upgrade Error with EasyApache
    By asterisk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-09-2006, 05:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube