Check your home folder permission.

----- Original Message ----
From: Iqbal hossain <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, 27 May, 2006 1:37:33 PM
Subject: [bdlug] 403 Forbidden error ...   ...   Apache Configuration in FC4

   Dear All,
  
    I am in problem .
   
   I use - Fedora Core 4
   and Apcahe  httpd-2.0.54-10
  
  
  
    I have configured Apache Web server  and running successfully but when I am trying http://172.20.245.248/~iqbal then the problem
   ---------------------------------------------
        
Forbidden
You don't have permission to access /~iqbal on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
----------------------------------------------
 
  I checked my permission of home directory
 
  
  \  home\  iqbal permission 711
  drwx--x--x  16 iqbal  iqbal     4096 &#2478;&#2503; 24 13:50 iqbal               
  \  home\  iqbal\  public_html permission 755
  drwxr-xr-x   2 iqbal iqbal 4096 &#2447;&#2474;&#2480; 19 11:13 public_html
  \  home\  iqbal\  public_html\  index.html  permission 755
  -rwxr-xr-x  1 iqbal iqbal 4 &#2447;&#2474;&#2480; 19 11:13 /home/iqbal/public_html/index.html
 
 
  please see my mod_userdir.c of  httpd.conf file
 
 
  -----------------------------------------------------------------
  #
  # UserDir: The name of the directory that is appended onto a user's home
  # directory if a ~user request is received.
  #
  # The path to the end user account 'public_html' directory must be
  # accessible to the webserver userid.  This usually means that ~userid
  # must have permissions of 711, ~userid/public_html must have permissions
  # of 755, and documents contained therein must be world-readable.
  # Otherwise, the client will only receive a "403 Forbidden" message.
  #
  # See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
  #
  <IfModule mod_userdir.c>
      #
      # UserDir is disabled by default since it can confirm the presence
      # of a username on the system (depending on home directory
      # permissions).
      #
      # UserDir "disable"
 
      #
      # To enable requests to /~user/ to serve the user's public_html
      # directory, use this directive instead of "UserDir disable":
      #
      UserDir public_html
 
  </IfModule>
 
 
 
  #
  # DirectoryIndex: sets the file that Apache will serve if a directory
  # is requested.
  #
  # The index.html.var file (a type-map) is used to deliver content-
  # negotiated documents.  The MultiViews Option can be used for the
  # same purpose, but it is much slower.
  #
  DirectoryIndex
 
  #
  # AccessFileName: The name of the file to look for in each directory
  # for access control information.  See also the AllowOverride directive.
  #
  AccessFileName .htaccess
 
  #
  # The following lines prevent .htaccess and .htpasswd files from being
  # viewed by Web clients.
  #
  <Files ~ "^\  .ht">
      Order allow,deny
      Deny from all
  </Files>
 
  #
  # TypesConfig describes where the mime.types file (or equivalent) is
  # to be found.
  #
  TypesConfig "/etc/mime.types"
 
 
  --------------------------------------------------------
  you can see my full httpd.conf attached file.
 
 
  I can do it successfully from Red hat 9 but not Fedora Core 4
  What can I do now?
  if you know about this problem pls help me.
 
  Regards,
  IQBAL
 
 
 
 
 
 

            
---------------------------------
Blab-away for as little as 1ยข/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.
            
---------------------------------
Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone.  Get Yahoo! Messenger with Voice

[Non-text portions of this message have been removed]

    

  To unsubscribe send a blank mail to:
       [EMAIL PROTECTED]

             

        SPONSORED LINKS  
                                                    Bangladesh                                       Linux user                                       Bangladesh flag                                                                     Dhaka bangladesh                                                 
         YAHOO! GROUPS LINKS

     Visit your group "bdlug" on the web.
     To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
    
     



[Non-text portions of this message have been removed]



To unsubscribe send a blank mail to:
      [EMAIL PROTECTED]




SPONSORED LINKS
Bangladesh Linux user Bangladesh flag
Dhaka bangladesh


YAHOO! GROUPS LINKS




Reply via email to