Page 1 of 1

Error 403 Access Forbidden You don't have permission mod_userdir

PostPosted: 04. March 2012 16:25
by eric.l
Hi, I am getting the same error. What I did was to comment out mod_userdir in httpd.conf so I can create my web sites under my home directory. But when I go to http://localhost/~myhome, I get the Error 403 Access Forbidden error.

What do I do?

Re: Error 403 Access Forbidden You don't have permission mod

PostPosted: 04. March 2012 17:38
by JonB
Well - according to your profile you are running Windows XP3 - is that the case or are you running Linux ??? :?:

Because it actually makes a difference in both the problem and the resolution....

Good Luck
8)

Re: Error 403 Access Forbidden You don't have permission mod

PostPosted: 05. March 2012 15:34
by eric.l
Hi JonB, I am currently using Arch Linux. I forgot to update my profile. Sorry bout that.

Re: Error 403 Access Forbidden You don't have permission mod

PostPosted: 06. March 2012 04:06
by JonB
OK -

I'll try to give you an 'easy out' -

If you want to have your files in your home folder (~) just create an Alias in httpd.conf that points to the folder (use an absolute path) you want to use, and then make sure to chown that folder (and below) to nobody:root.

mod_userdir is really intended for 'multi-tenant' servers, and real LAMP stacks. I can't say that it won't work with some jiggery-pokery, but I also can't say it will either.

Good Luck
8)

Re: Error 403 Access Forbidden You don't have permission mod

PostPosted: 08. March 2012 15:15
by eric.l
Hi JonB. Sorry but I don't know how to do what you suggessted. :mrgreen:

Will it be much of a bother if you gave a step-by-step guide on how I can achieve what you suggested? :D Thanks.

Re: Error 403 Access Forbidden You don't have permission mod

PostPosted: 08. March 2012 20:19
by JonB
Eric

I'll try to do that for you later today or tomorrow morning, OK??

8)

Re: Error 403 Access Forbidden You don't have permission mod

PostPosted: 26. March 2012 16:20
by eric.l
JonB wrote:Eric

I'll try to do that for you later today or tomorrow morning, OK??

8)


Hi, I was wondering if you've come up with some instructions I can follow to achieve your suggestion? Thanks.