Help with XAMPP htdocs folder error 404

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

Help with XAMPP htdocs folder error 404

Postby yiani45 » 02. October 2011 15:14

I get the following messages and errors when going to localhost/xampp/htdocs

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
10/02/11 10:13:00
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
yiani45
 
Posts: 4
Joined: 02. October 2011 15:08

Re: Help with XAMPP htdocs folder error 404

Postby Sharley » 02. October 2011 15:37

You don't need to add the /xampp/htdocs to the URL address just use http://locahost and it should work without a 404 error as per the readme_en.txt file in the xampp folder..

Good luck :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Help with XAMPP htdocs folder error 404

Postby yiani45 » 02. October 2011 15:55

But I'm trying to get to my htdocs..how do I go about that?
yiani45
 
Posts: 4
Joined: 02. October 2011 15:08

Re: Help with XAMPP htdocs folder error 404

Postby Sharley » 02. October 2011 15:59

http://localhost is the htdocs folder.

What exactly have you put in the htdocs folder that you want to see and did you read the readme file?

Also please read the forum announcements before posting.
viewtopic.php?f=16&t=48331
viewtopic.php?f=16&t=32670

Thanks.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Help with XAMPP htdocs folder error 404

Postby yiani45 » 02. October 2011 17:48

Thank you, I am new to this forum and xampp so I didn't know but now I do..thank you.
I will start from the beginning ...
I am Running XAMPP 1.77 on Win XP
I am also running IIs
I need to be able to run IIs and XAMPP together.

My question basically is.....how do I configure XAMPP to play nice with IIs?
I have changed the port in XAMPP to :8080 so they both don't share :80....is there anything else I need to do?
My end goal is to play with Wordpress on my local system.
So I know in advanced..what should I type in the address bar in Firefox to get to the htdocs with wordpress? I have named the wordpress folder in htdocs "wordpress".
should it be "localhost:8080/xampp/htdocs/wordpress"

Thank You for all of your help, again, I am new to this forum and XAMPP.
Yiani
yiani45
 
Posts: 4
Joined: 02. October 2011 15:08

Re: Help with XAMPP htdocs folder error 404

Postby Sharley » 02. October 2011 18:06

Your welcome Yiani and thanks for your detailed post.

http://localhost:8080/wordpress
or
http://localhost:8080/wordpress/index.php
Should find the index.php file in the wordpress folder which you placed in the htdocs folder which is the Apache server's DocumentRoot.

I would also edit this line in the httpd.conf file to save having a conflict on port 443 the HTTPS port, that is if you don't wish to use HTTPS, most don't if they are developing a Wordpress site:
Code: Select all
# Secure (SSL/TLS) connections
# Include "conf/extra/httpd-ssl.conf"
Change it so it looks like the code above.
Save the file and restart Apache.

If you require to use HTTPS then leave that line and edit the mentioned file by changing all port 443 references to port 4433.


You also might like to use the new version 3 Control Panel xampp-control-3-beta.exe found in the xampp folder, instead of the older less featured Control Panel.

Good luck. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Help with XAMPP htdocs folder error 404

Postby yiani45 » 02. October 2011 22:39

I GOT IT WORKING!! I'm happy :)

Thanks for your help!
I figured out my issue..
I was going to "localhost:8080/xampp/wordpress" which gave me the Error 404
Instead of going to "localhost:8080/wordpress"

Also..I took your advice and used the new control panel v3.0.2 and that is awesome!

Thanks again for your time and help, I really appreciate it!

Yiani
yiani45
 
Posts: 4
Joined: 02. October 2011 15:08

Re: Help with XAMPP htdocs folder error 404

Postby Sharley » 02. October 2011 22:47

Yiani, you are most welcome. 8)

Now you can start to enjoy what XAMPP has to offer.

Good luck and best wishes. :D
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 84 guests