Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th July 2005, 10:24 PM
kausum Offline
Registered User
 
Join Date: Jul 2005
Posts: 4
Getting 403 Access Error when viewing a directory

Hi,

On my website, some users have their home pages in their own user accounts. However, when they try to access their webpage using <website>/~username it gives them 403 error.

I have checked all the permissions and all directories from /home/username to /home/username/public_html have 755 permissions and all files inside the public_html folder have read access and ownership is also with the user.

The httpd.conf file has the following rule:

RewriteEngine On
RewriteRule ^/~([^/]+)/?(.+) /home/$1/public_html/$2/ [NC]

Yet it gives the 403 error.

Could someone provide me directions on the same.

Kausum
Reply With Quote
  #2  
Old 11th July 2005, 10:27 PM
MarkB2k1 Offline
Registered User
 
Join Date: Jul 2005
Posts: 10
What does your /var/log/httpd/error_log file state for the session that you get this error from ?
Reply With Quote
  #3  
Old 11th July 2005, 10:33 PM
kausum Offline
Registered User
 
Join Date: Jul 2005
Posts: 4
The /var/log/httpd/error_log file indicates the folowiing

[Mon Jul 11 17:03:27 2005] [error] [client 134.192.79.25] (13)Permission denied: access to /~username denied, referer: <website>
Reply With Quote
  #4  
Old 11th July 2005, 10:38 PM
kausum Offline
Registered User
 
Join Date: Jul 2005
Posts: 4
And this is the httpd.conf file part

<Directory /home/*/public_html>

Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from from all
Order allow,deny
</Directory>
Reply With Quote
Reply

Tags
403, access, directory, error, viewing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
web directory viewing crick136 Linux Chat 3 4th April 2006 01:08 AM
ProFTPD Directory Access taigon Servers & Networking 3 10th March 2006 11:12 PM
viewing another users directory. tekzilla Installation and Live Media 2 15th July 2005 03:22 AM
FTP Users and Directory Access jasonbaldwin Servers & Networking 2 22nd June 2005 09:42 PM


Current GMT-time: 15:35 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat