Author | Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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
|
 |
Author | RE: Mac + xampp |
reaper4334 Member

Posts: 315 Location: Uk
Joined: 24.11.06 Rank: Moderate | |
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)
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
Sorry thats what I meant but it's still a Not Found 404 Message
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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.
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
Just enter http://localhost or http://127.0.0.1 see what you get
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
I thought posting the source of what I get would be more helpful:
Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"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)
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
SaMTHG wrote:
I thought posting the source of what I get would be more helpful:
Code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"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.
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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))
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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.
|
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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...
|
 |
Author | RE: Mac + xampp |
spyware Member

Posts: 4192 Location:
Joined: 14.04.07 Rank: God Warn Level: 90
| |
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).

"The chowner of property." - Zeph [small]�Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.� - Carl Sagan [center]�Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?� - Ebert[/ce |
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
Sorry spyware no I don't know what your on about
|
 |
Author | RE: Mac + xampp |
spyware Member

Posts: 4192 Location:
Joined: 14.04.07 Rank: God Warn Level: 90
| |
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.

"The chowner of property." - Zeph [small]�Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.� - Carl Sagan [center]�Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?� - Ebert[/ce
Edited by spyware on 19-08-08 21:08 |
 |
Author | RE: Mac + xampp |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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.
|
 |