Jump to content


Enabling mod_userdir in Apache 2 on OS X

  • Please log in to reply
1 reply to this topic

#1 Buyocat

  • Members
  • PipPipPip
  • Advanced Member
  • 267 posts

Posted 19 July 2006 - 02:44 PM

Hi, I recently installed Apache 2 (locally) and things are almost right... I followed the instructions found http://www.phpmac.co...es.php?view=244 which were very helpful, but now I would like the ~/Username to point to the /Username/Sites folder.  While the guide offers some explanation on how to do this, and I followed it's instructions, I am getting a "Forbidden you do not have access to /~Username on this site" message when I try to load the page.  Just to be clear I am able to load successfully.  I believe the issue may be due to my httpd.conf and the lack of a <if module> statement for mod_userdir, but I'm not sure how to add everything.  For starters how can I include the module (which doesn't appear to be in my /modules directory), I read on the Apache site that it was a base component and always compiled, so do I even need to LoadModule it?  Currently my httpd.conf has something that looks like this...

Include conf/extra/httpd-userdir.conf

And my httpd-userdir.conf looks like this:

UserDir Sites

# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
<Directory /home/*/Sites>
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
        Order allow,deny
        Allow from all
    <LimitExcept GET POST OPTIONS>
        Order deny,allow
        Deny from all

Thanks for any help, Buyo
Looking for some easy-to-use tools?  Try these, https://sourceforge....jects/utils-php -- I made them myself.  They're distinct tools which are easy to understand and use.  See some examples uses at http://www.anotherearlymorning.com

#2 oldmanice

  • Members
  • PipPipPip
  • Advanced Member
  • 134 posts
  • LocationIn Your Garden At Night

Posted 10 August 2006 - 11:24 PM

I think your going to have to allow from all wich I dont think your doing
Join my Froums www.phpbbplanet.com/darkwinter

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users