Error 403 Access Forbidden You don't have permission mod_userdir

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Error 403 Access Forbidden You don't have permission mod_userdir

Postby eric.l » 04. March 2012 16:25

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?
eric.l
 
Posts: 4
Joined: 22. February 2012 07:49
XAMPP Version: 5.6.3
Operating System: Arch Linux

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

Postby JonB » 04. March 2012 17:38

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

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

Postby eric.l » 05. March 2012 15:34

Hi JonB, I am currently using Arch Linux. I forgot to update my profile. Sorry bout that.
eric.l
 
Posts: 4
Joined: 22. February 2012 07:49
XAMPP Version: 5.6.3
Operating System: Arch Linux

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

Postby JonB » 06. March 2012 04:06

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

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

Postby eric.l » 08. March 2012 15:15

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.
eric.l
 
Posts: 4
Joined: 22. February 2012 07:49
XAMPP Version: 5.6.3
Operating System: Arch Linux

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

Postby JonB » 08. March 2012 20:19

Eric

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

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

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

Postby eric.l » 26. March 2012 16:20

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.
eric.l
 
Posts: 4
Joined: 22. February 2012 07:49
XAMPP Version: 5.6.3
Operating System: Arch Linux


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests