Results 1 to 4 of 4

Thread: Access Denied/403/.htaccess Errors

  1. #1
    markb14391 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    44

    Default Access Denied/403/.htaccess Errors

    Almost every page action in SugarCRM generates an error message in my Apache log, usually like:

    [Sat Jul 25 21:36:20 2009] [error] [client 75.176.46.8] File does not exist: /home/xxxxx/public_html/403.shtml, referer: http://www.xxxxx.com/sugarcrm/index....ion=DetailView
    [Sat Jul 25 21:36:20 2009] [crit] [client 75.176.46.8] (13)Permission denied: /home/xxxxx/public_html/sugarcrm/cache/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.xxxxx.com/sugarcrm/index....ion=DetailView

    I've tried every solution mentioned in the forums for things like this, and nothing works. Sugar is running on a CentOS server under cPanel.

    Any help would be greatly appreciated.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Access Denied/403/.htaccess Errors

    Hi markb14391

    It is a permission error.
    You need to identify the user apache uses to get started. Have a look into httpd.conf and look for "user" and "group", the run this command as root:

    chown -R user.group /home/xxxxx/public_html/sugarcrm/

    Best regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    markb14391 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    44

    Default Re: Access Denied/403/.htaccess Errors

    Thanks. Is this true even under suPHP, in which case (as I understand it). things need to be run under the owner of the particular cPanel account?

    Also, if this is the cause of this issue, why is my server allowing access to SugarCRM at all? It is possible to perform all functions...nothing is blocked, but those error messages appear in the log for almost every action.

    Thanks,

    Mark
    Last edited by markb14391; 2009-07-26 at 04:02 PM.

  4. #4
    markb14391 is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    44

    Default Re: Access Denied/403/.htaccess Errors

    Followup: I ran the CHOWN command you recommended, and the problem still persists. (Yes, I substituted the appropriate group/user.)

    I think I've tried everything that anyone has recommended for this.

    Any more ideas?

    I appreciate your help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Access Denied for User
    By kjakemiller in forum Installation and Upgrade Help
    Replies: 10
    Last Post: 2009-11-10, 03:39 PM
  2. .htaccess blocking access
    By ggcaribou in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2009-03-19, 07:08 PM
  3. htaccess errors in 5.1.0b upgrade
    By djblade311 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-11-04, 04:02 AM
  4. Step 7: Access denied for...
    By iceytina in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2006-12-29, 04:51 PM
  5. Permission denied errors on IIS 6
    By Belt in forum Help
    Replies: 1
    Last Post: 2006-07-27, 12:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •