Sunday, March 28, 2010

Learning Apache's minutiae

When using mod_userdir (to allow/disallow each/some user(s) to expose files through requests like, Apache needs --x permissions on the /home/myTestUser directory (directory in accordance with the example) in order to serve the requests. Otherwise you will get a 403 Forbidden error when trying to access them.

Related to this, if UserDir is disabled for a user (or the user doesn't exits), Apache will return a 404 Not Found error, instead of a 403 Forbidden.

No comments: