403 Error XAMPP version 1.7.7 [SOLVED]

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

403 Error XAMPP version 1.7.7 [SOLVED]

Postby mikntwd » 15. November 2011 05:14

Hello.

I got error 403 access forbidden when going to my new web page that I made. I assigned in httpd-vhosts.conf file.
How Do I Fix problem?

<VirtualHost *:80>
ServerAdmin admin@raucholz.com
DocumentRoot /home/keith/WWW/raucholz.com
ServerName raucholz.com
ServerAlias http://www.raucholz.com
ErrorLog /home/keith/WWW/raucholz.com/logs/error.log
Customlog /home/keith/WWW/raucholz.com/logs/access.log common
</VirtualHost>
mikntwd
 
Posts: 3
Joined: 15. November 2011 05:08
Operating System: Fedora 16

Re: 403 Error Xampp version 1.7.7

Postby JonB » 15. November 2011 06:58

OK -

I have a couple questions:

A. - what was the URL you used in your browser?

B. - what user/group are owners of /home/keith/WWW/raucholz.com?

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

Re: 403 Error Xampp version 1.7.7

Postby mikntwd » 15. November 2011 08:57

Username is Keith
In browser URL I type either pc ip address or raucholz.com. Either address results in same - error 403.

I run xamp on fedora Linux and web site directory is in my "/home/Keith/www/raucholz.com directory"

Thank you
mikntwd
 
Posts: 3
Joined: 15. November 2011 05:08
Operating System: Fedora 16

Re: 403 Error Xampp version 1.7.7

Postby JonB » 15. November 2011 14:05

One question, and a suggested change:

A. - "WHY" would you enter the PC's IP address ???? Are we missing part of the picture???? Are you not working on the console? Did you make hosts file entries, or use a nameserver?

B. - Try making the owner of the "/home/Keith/www/raucholz.com" directory nobody:root

Code: Select all
chown -R nobody:root /home/Keith/www/raucholz.com


Let's try answering the first question, and make the ownership change before we tackle what may or may not be right with the vhosts entries.

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

Re: 403 Error Xampp version 1.7.7

Postby mikntwd » 16. November 2011 01:37

Resolution to Problem...

As you can see the /home/myusername folder has rw, r , r. You need to give "x" to that folder and the /home folder

chmod o+x /home
chmod o+x /home/myusername
mikntwd
 
Posts: 3
Joined: 15. November 2011 05:08
Operating System: Fedora 16

Re: 403 Error Xampp version 1.7.7

Postby JonB » 16. November 2011 02:16

glad you found it -

I'll have to add that to my 'Linux fixes for XAMPP'.

Good Luck
:D
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 32 guests