Professional Web Applications Themes

Access forbidden on User webpages - Linux Setup, Configuration & Administration

Hi, I've set up my Apache (2.0) on a RH9 box but when I try to connect to a user site http://www.kejpa.com/~MyUserID/ I get a forbidden message, of course something with access rights in that directory. How do I set the correct access rights? Currently I'm using 755. Another issue is that when I try to access a subdirectory like http://www.kejpa.com/subdir I get a message that I get "Page Not Found" I would like to open up the default page (index.html). How's that managed? Any help appreciated /Kejpa...

  1. #1

    Default Access forbidden on User webpages

    Hi,
    I've set up my Apache (2.0) on a RH9 box but when I try to connect to a
    user site http://www.kejpa.com/~MyUserID/
    I get a forbidden message, of course something with access rights in
    that directory. How do I set the correct access rights? Currently I'm
    using 755.

    Another issue is that when I try to access a subdirectory like
    http://www.kejpa.com/subdir I get a message that I get "Page Not Found"
    I would like to open up the default page (index.html). How's that managed?

    Any help appreciated
    /Kejpa

    Kejpa Guest

  2. #2

    Default Re: Access forbidden on User webpages

    On Mon, 29 Dec 2003 19:04:37 +0200, Kejpa <net> wrote: 

    What is permission of the user's home dir. Every directory in the full
    path typically needs at least 701 permission for apache to access it, and
    their default home dir might be 700, which would block apache. Actually
    700 dir and script permission might work for CGI under suexec, but not for
    static content which does not use suexec.
     

    Apache recognizes that is a dir that is missing a trailing slash and would
    typically redirect to http://$SERVER_NAME/subdir/ (and $SERVER_PORT if
    non-standard), so it depends whether your ServerName is valid and can be
    found (or see docs for UseCanonicalName).

    --
    David Efflandt - All spam ignored http://www.de-srv.com/
    David Guest

  3. #3

    Default Re: Access forbidden on User webpages

    Hi there, and thanx for your respons.
    I had some strange settings for my directories. It's fixed now.
    As is the fix for UseCanonicalName, I thought it should be the other way
    around.

    Many thanks
    /kejpa


    David Efflandt wrote: 
    >
    >
    > What is permission of the user's home dir. Every directory in the full
    > path typically needs at least 701 permission for apache to access it, and
    > their default home dir might be 700, which would block apache. Actually
    > 700 dir and script permission might work for CGI under suexec, but not for
    > static content which does not use suexec.
    >

    >
    >
    > Apache recognizes that is a dir that is missing a trailing slash and would
    > typically redirect to http://$SERVER_NAME/subdir/ (and $SERVER_PORT if
    > non-standard), so it depends whether your ServerName is valid and can be
    > found (or see docs for UseCanonicalName).
    >[/ref]

    Kejpa Guest

Similar Threads

  1. Why forbidden access to files?
    By Alfred Lang in forum Macromedia Contribute General Discussion
    Replies: 2
    Last Post: December 1st, 09:40 PM
  2. 403 1 Forbidden: Execute Access Forbidden
    By Layne in forum ASP.NET Web Services
    Replies: 1
    Last Post: September 4th, 06:58 PM
  3. Forbidden access
    By Charlie in forum PHP Development
    Replies: 9
    Last Post: April 7th, 01:00 PM
  4. webpages and Access
    By Joe in forum ASP Database
    Replies: 7
    Last Post: September 7th, 05:00 PM
  5. Can access only certian webpages
    By Ed in forum Windows Networking
    Replies: 4
    Last Post: July 28th, 08:38 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139