Acess forbiden

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

Acess forbiden

Postby Deepseacodmaster » 21. August 2009 10:57

Hi All
Please be gentle I am totally new at this.
I have installed the latest version of Xampp lite and I get the welcome page when I test it. http://127.0.0.1
So I believe it is working OK

I tried to access http://localhost/C:/Users/Ivan.ivanbell ... es/glossop heritage/index.html

I get the following message
Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
Error 403
localhost
08/21/09 09:59:57
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0


My site is at C:\Users\Ivan.ivanbell-PC\Documents\awebsites\glossop heritage
and my Xmapp is installed at C:\xampplite\xampplite

I am totally lost after trying various combinations
All help will be gratefully receive.
Cheers
Ivan
Deepseacodmaster
 
Posts: 4
Joined: 21. August 2009 10:30
Location: Old Glossop Derbyshire UK

Re: Acess forbiden

Postby Wiedmann » 21. August 2009 11:13

A file/directory which you want access with your browser through the Apache webserver must be located in the DocumentRoot. Your DocumentRoot should be "C:\xampplite\xampplite\htdocs\"
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Acess forbiden

Postby Deepseacodmaster » 21. August 2009 15:05

Thank you for your reply
My route path is now C:\xampplite\xampplite\htdocs\glossop heritage
However when I try to open
http://localhost/C:/xampplite/xampplite/htdocs/glossop heritage/index.php
I get this message.
Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
Error 403
localhost
08/21/09 14:02:48
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0


I am sure I am close but need that final prod.
Cheers
Ivan
Deepseacodmaster
 
Posts: 4
Joined: 21. August 2009 10:30
Location: Old Glossop Derbyshire UK

Re: Acess forbiden

Postby Wiedmann » 21. August 2009 15:09

My route path is now C:\xampplite\xampplite\htdocs\glossop heritage
However when I try to open
http://localhost/C:/xampplite/xampplite/htdocs/glossop%20heritage/index.php

It must be http://localhost/glossop%20heritage/index.php.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Acess forbiden

Postby Deepseacodmaster » 21. August 2009 18:42

Thanks again for your help
I am getting closer and closer and understanding more.(very Important)

I now get
MySQL Error Occured
1045: Access denied for user 'glos8460_ccrt1'@'localhost' (using password: YES)

I have read various posts on the forum and wonder if I put 'YES' in the phpmyadmin floder -> Open config.inc.php
as below if this would this cure my problem ?

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'YES';

I need to know because I do not want to mess everything up.

Cheers
Ivan
Deepseacodmaster
 
Posts: 4
Joined: 21. August 2009 10:30
Location: Old Glossop Derbyshire UK

Re: Acess forbiden

Postby Wiedmann » 21. August 2009 20:10

I have read various posts on the forum and wonder if I put 'YES' in the phpmyadmin floder

I don't think I have seen this in the install manual for XAMPP...
(but phpMyAdmin is not related to your problem. Maybe it's know also not working with your change.)


1045: Access denied for user 'glos8460_ccrt1'@'localhost' (using password: YES)

Did you have the user "glos8460_ccrt1" (with this password) in MySQL?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Acess forbiden

Postby Deepseacodmaster » 22. August 2009 08:15

Thanks again for the reply.
I am pleased I did not alter anything.
I am working this next week in the North sea (Dogger Bank and Norwiegen sector) so I will have to continue after I get back :D
I am learning
Honest!
Cheers
Ivan
Deepseacodmaster
 
Posts: 4
Joined: 21. August 2009 10:30
Location: Old Glossop Derbyshire UK


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 202 guests