The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

You don't have permission to access / on this server

Discussion in 'General Discussion' started by sexy_guy, Jun 7, 2003.

  1. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    What the hell does this mean? My user is livid. Even his index.html refuses to load. All he did was create his site and upload some cgi files to cgi-bin. Nothing loads, not even his index.html file from http://sitename/index.html. let alone his cgi-bin scripts. Keeps getting a 403 forbidden error. Nothing in his CP. Its all clean. Then we see msgs in error_log that says that .htaccess cannot be read :confused: Everthing is there, and the htaccess file has the proper permission. Whats up with this?

    HELLO! This is ridiculous

    cPanel.net Support Ticket Number:
     
    #1 sexy_guy, Jun 7, 2003
    Last edited: Jun 7, 2003
  2. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Sounds like the public_html folder is CHMOD to something other than 755

    cPanel.net Support Ticket Number:
     
  3. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Sexy GUy, I've seen you whine and bitch in all the threads you've done. Maybe you need a course in LInux and APache so you wouldn't be so frustrated and blame it all on CPanel at the first opportunity. (and then in the end find out it WAS not cpanel!!) Wake up!

    Check the public_html permissions. Even the user can mess it up himself because he has access to /home/user/ and guess what public_html is in there.

    Try the permissions and ownership in there.. then see.

    cPanel.net Support Ticket Number:
     
  4. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    Thank you for your kind words. I too have seen you bitch moan and groan. The pot calling the kettle black. I guess that makes two of us. :rolleyes:

    cPanel.net Support Ticket Number:
     
  5. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    well... I got 2 sites added to the server and I get this and the public_html is set to 755 and I am not bitchin or moaning just looking for a fix :p

    cPanel.net Support Ticket Number:
     
  6. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Check the ownership of the public_html directory and make sure it is set to USER'SID:NOBODY.

    cPanel.net Support Ticket Number:
     
  7. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    huh? I have never seen these set to nobody

    drwx--x--x 5 accountname accountname 4096 Aug 13 21:57 ./
    drwxr-xr-x 12 root root 4096 Aug 13 21:57 ../
    drwxr-x--- 2 accountname mail 4096 Aug 13 21:57 mail/
    drwxr-xr-x 3 accountname accountname 4096 Aug 13 21:57 public_ftp/
    drwxr-xr-x 3 accountname accountname 4096 Aug 13 21:57 public_html/
    lrwxrwxrwx 1 accountname accountname 11 Aug 13 21:57 www -> public_html/

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  8. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    I had this problem before and it was because the public_html directory was set to userid:userid and when I changed it back to userid:nobody, it solved the problem.

    cPanel.net Support Ticket Number:
     
  9. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    well I lost with this cause I added a sub-domain to another account via the WHM and it looks exactly the same in the shell for both accounts and the sub works fine

    cPanel.net Support Ticket Number:
     
  10. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Is there a default document (index.html, index.htm, etc) in the directory you are trying to access?

    cPanel.net Support Ticket Number:
     
  11. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    nope


    drwxr-xr-x 3 yoyoyo yoyoyo 4096 Aug 13 21:57 ./
    drwx--x--x 6 yoyoyo yoyoyo 4096 Aug 13 22:04 ../
    drwxr-xr-x 2 yoyoyo yoyoyo 4096 Aug 13 21:57 cgi-bin/

    cPanel.net Support Ticket Number:
     
  12. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    There needs to be a default document (which you can define in the httpd.conf file) in the public_html directory in order to not get a 403 Forbidden Error.

    cPanel.net Support Ticket Number:
     
  13. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    since when, all the other sites that I have ever added to my 2 cpanel servers when you click on the link it shows you the index listing of the public_html (going to the site via the browser) this is the first time I have seen this, so why now does this have to be done and why do I not see this for that sub-domain account I made in the whm show a 403 but instead shows the normal empty index listing

    cPanel.net Support Ticket Number:
     
  14. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    eh...well just shoot me...my problem is called probagation LOL

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page