Page 1 of 2

LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 21:28
by Mateusz
when i go to http://localhost/phpmyadmin/ i get this error

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403
localhost
12/23/09 15:25:56
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5

i went to apache>logs>error and i think this is the problem:

[Wed Dec 23 15:01:30 2009] [error] [client 127.0.0.1] Directory index forbidden by Options directive: C:/Users/Matt/Desktop/Desktop/xampplite/phpmyadmin/

But I don't know how to change this. ALSO, i did a command in cmd so that mysql wont run as a service cuz i wanted to restart it, i dont know the command to make it run like a service, i check the "svc" box but when i open xampp after hitting exit it is unchecked. can somebody please help me with these issues?

PS: i use xampplite 1.6.6 , LOCALHOST WORKED BEFORE.

my directive thing is

<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 21:49
by Izzy
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Where is this taken from exactly?

What other changes have you made in the httpd.conf file that may be affecting this issue?

Did you make a backup of the original httpd.conf file before making any changes?

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:06
by Mateusz
this is from httpd.conf, i didnt make a backup file, the only thing i change was deny from all to "allow from all" and order deny, allow to order allow deny.(I changed it because i couldnt acces localhost, but this didnt help.)
i put the phpmyadmin folder back into xampplite>mysql>backup because i thought putting it in xampplite would make the server find it. with the original placement of the files this is the error i get when i type in http://localhost/phpmyadmin/

----------------------------------------------------------------------------------------------------------------------------
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
localhost
12/23/09 16:01:59
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
----------------------------------------------------------------------------------------------------------------------------

PHPMYADMIN did work before. please help me fix this. the <directory> thing is taken from httpd.conf

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:16
by Izzy
It is important that you revert your changes in the httpd.conf file to their original default values, this may make it easier to find the problem.

Next clear your browser's cache, Temporary Internet Files in IE.

Now can you see the XAMPP Welcome Page when you type:
http://localhost/
or
http://localhost/xampp/index.php

Also can you access using the IP
http://127.0.0.1/
or
http://127.0.0.1/xampp/index.php
also
http://127.0.0.1/phpmyadmin

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:22
by Mateusz
"Next clear your browser's cache, Temporary Internet Files in IE."

What do you mean by this i don't think i understood you.

Can you upload a standar httpd.conf file so i can download it, also can you please tell me the command so i run mysql as a service.

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:25
by Izzy
What browser are you using?

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:27
by Mateusz
for the internet? i use internet explorer, for files i used windows explorer. u want me to type in the temporary files.... in my windows explorer?


i also need the default htdocs files, because i replaced them with files for a website, i dont know why this is a problem it worked before, but i want everything standard again so i can fix this.

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:35
by Izzy
To clear your cached files in IE right click on the Internet Explorer icon on your desktop and select Properties.

Then Under Temporary Internet Files click on the Delete Files button, then OK.

When working at localhost you may often be given an old cached file by your browser instead of a fresh file from your server and by clearing the cache often it will eliminate this behavior so we can be certain that we are getting a server page not a browser cache page.

When you clear your cache try the links I gave and let me know what errors if any you get from the error.log file not the browser - this is a step by step method so we can find your underlying problem.

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:42
by Mateusz
i dont have an option "temporary internet files" in the properties. i have "security", "details", "previos versions", "General", "Shortcut", "Compatibility".

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:48
by Izzy
Normally when you open the Internet Properties item it start at the General tab where you will find Temporary Internet Files heading.

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 22:53
by Mateusz
its not there ;s. can you tell me how i can completely uninstall xampp, ill just install it again.

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 23:07
by Izzy
Mateusz wrote:its not there ;s. can you tell me how i can completely uninstall xampp, ill just install it again.
\xampp\readme_en.txt file
or
http://www.apachefriends.org/winxampp/readme_en.txt

http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 23:16
by Mateusz
its not letting me uninstall mysql and apache service.
this is the error for msql uninstall:

Install/Remove of the Service Denied!
Remove C:Windows\my.ini
c:\Windows\my.ini
Acess is denied.

here is the error for apache:

(OS 5)Access is denied. : OpenService failed

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 23:24
by Izzy
In the mysql and apache folders there is an uninstalservice bat file, use those and try again.

or if that fails try this fix:
viewtopic.php?f=16&t=38593

Re: LOCALHOST WON'T LOAD, HELP PLEASE

PostPosted: 23. December 2009 23:30
by Mateusz
nope, says they dont exist as a service, i cant delete the folder an error says "you do not have permission to performt his action". i cant stop apache i get (Error-1) in xampp control.