Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Mac + xampp


ghost's Avatar
0 0

Basically I have a Mac OS X. I downloaded xampp and tried to install it. Now I do have an app called xampp and when I click on the app it gives me a prompt for admin user and pass. So after my Dad enters it (he's admin) It gives me a control panel I then click start all thing and it says it's all working but when I go to http://www.localhost/xampp there's a page not found. So what I'm asking is:

  1. Does anyone have a Mac OS X and xampp
  2. Why doesn't mine work Thanks P.S If you need more info about the OS or something let me know

ghost's Avatar
0 0

Sorry thats what I meant but it's still a Not Found 404 Message


ghost's Avatar
0 0

Works fine for me. Try just starting apache and having a look at any error messages you get. If you dont get any, just type localhost into the URL bar.


ghost's Avatar
0 0

I thought posting the source of what I get would be more helpful:

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Page for Apache Installation</title>
</head>
<!-- Background white, links blue (unvisited), navy (visited), red
(active) -->
<body bgcolor="#FFFFFF" text="00000" link="000FF"
vlink="00080" alink="#FF0000">
<p>If you can see this, it means that the installation of the <a
href="http://www.apache.org/foundation/preFAQ.html">Apache web
server</a> software on this system was successful. You may now add
content to this directory and replace this page.</p>

<hr width="50%" size="8" />
<h2 align="center">Seeing this instead of the website you
expected?</h2>

<p>This page is here because the site administrator has changed the
configuration of this web server. Please <strong>contact the person
responsible for maintaining this server with questions.</strong>
The Apache Software Foundation, which wrote the web server software
this site administrator is using, has nothing to do with
maintaining this site and cannot help resolve configuration
issues.</p>

<hr width="50%" size="8" />
<p>The Apache <a href="manual/">documentation</a> has been included
with this distribution.</p>

<p>You are free to use the image below on an Apache-powered web
server. Thanks for using Apache!</p>

<div align="center"><img src="apache_pb.gif" alt="" /></div>
</body>
</html>

Thats what I get. P.S @jjbutler will do(When me dad gets home)


ghost's Avatar
0 0

SaMTHG wrote: I thought posting the source of what I get would be more helpful:

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Page for Apache Installation</title>
</head>
<!-- Background white, links blue (unvisited), navy (visited), red
(active) -->
<body bgcolor="#FFFFFF" text="00000" link="000FF"
vlink="00080" alink="#FF0000">
<p>If you can see this, it means that the installation of the <a
href="http://www.apache.org/foundation/preFAQ.html">Apache web
server</a> software on this system was successful. You may now add
content to this directory and replace this page.</p>

<hr width="50%" size="8" />
<h2 align="center">Seeing this instead of the website you
expected?</h2>

<p>This page is here because the site administrator has changed the
configuration of this web server. Please <strong>contact the person
responsible for maintaining this server with questions.</strong>
The Apache Software Foundation, which wrote the web server software
this site administrator is using, has nothing to do with
maintaining this site and cannot help resolve configuration
issues.</p>

<hr width="50%" size="8" />
<p>The Apache <a href="manual/">documentation</a> has been included
with this distribution.</p>

<p>You are free to use the image below on an Apache-powered web
server. Thanks for using Apache!</p>

<div align="center"><img src="apache_pb.gif" alt="" /></div>
</body>
</html>

Thats what I get. P.S @jjbutler will do(When me dad gets home)

So…just add whatever to your www folder. Your server is working; that's the default index page.


ghost's Avatar
0 0

1: I thought for xampp it should be http://127.0.0.1/xampp or http://localhost/xampp 2: What do you mean www folder? I've got cgi-bin, etc, htdocs, CP and xamppfiles (That is the immediate stuff that comes up but there's more in each folder (CP Isn't a folder))


ghost's Avatar
0 0

Yeah, htdocs is the one you want. In there is an index.html, which is just a meta redirect to ./xampp, so you can delete it and add your own index.php or whatever. But you get that page, so its working.


ghost's Avatar
0 0

I double click on index.html in htdocs and it goes to file:///Applications/xampp/xamppfiles/htdocs/index.html Then redirects in less than a second to file:///xampp/index.php where it says file not found…


spyware's Avatar
Banned
0 0

SaMTHG wrote: I double click on index.html in htdocs and it goes to file:///Applications/xampp/xamppfiles/htdocs/index.html Then redirects in less than a second to file:///xampp/index.php where it says file not found…

Router? You did add port mapping, right? For port 80 (or whatever it is you want to use).


ghost's Avatar
0 0

Sorry spyware no I don't know what your on about


spyware's Avatar
Banned
0 0

SaMTHG wrote: Sorry spyware no I don't know what your on about

Me neither, forgive me, I thought you were trying to access your external IP.

You installed xampp, go to htdocs, edit/create a file (do a phpinfo();) and go to http://localhost/file.php.

Make sure xampp started apache correctly, and also make sure Apache is configured to use PHP. Defaults should be okay, though. If something is not right, check the xampp control panel.


ghost's Avatar
0 0

Sounds like its not installed properly, but apache is, so do what spyware says, create a new index file in htdocs and get it to echo phpinfo(), see whats happening with your install. You may want to reinstall if its still causing you problems.