treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Xampp Server problem

  • Hey People, Not sure if this is the right place to be asking this but I figure, Someone on here must use it.

    I have Xampp running and the Apache, MySQL and Mercury are all running but when I go to

    http://localhost/xampp/htdocs/


    It doesn't work!
    C:\xampp\htdocs is where I place my files, Thats correct right? But I get this message when i go to
    http://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
    03/05/2011 15:46:11
    Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1



    Any help is appreciated.
    I really want this to work for easier php practice.
  • You should be going to http://localhost/ folder name or file name that you want to access (for example the index.php file of the website you are testing)
  • Use Wamp Server I know How To Use That...
  • @ChrisBull: His problem would be the same if he used Wamp, he is going to the wrong URL.
  • http://localhost/ (insert...FOLDER NAME or FILE that are stored in the htdocs)

    on another note ...switch to Wamp Server like @ChrisBull said. Much better server in my opinion
  • @springlab -- just curious what the advantages are of using Wamp over Xampp? I've only used Xampp but am always on the lookout for ways to improve my workflow, etc.
  • @ccc630
    C:\xampp\htdocs is where I place my files, Thats correct right?
    Don't know if xamp can do this as i have never used it but with wamp you can have your files where ever you want them and then create a url that goes to the folder.
    For instance if i wanted to i could have a file at f:/projects/test/ and then i could type www.css-tricks.com into my browser and it would got the my test file directory