Mac + xampp
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:
- Does anyone have a Mac OS X and xampp
- Why doesn't mine work Thanks P.S If you need more info about the OS or something let me know
SaMTHG wrote: http://www.localhost/xampp
Should be http://localhost/xampp
There's no 'www.'
Or you can use http://127.0.0.1/xampp (localhost IP address)
Just enter http://localhost or http://127.0.0.1 see what you get
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)
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.
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))
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).
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.