| Author |
Mac + xampp |
SaMTHG
Member
Posts: 145
Location:
Joined: 27.03.08 Rank: God |
|
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

There's no place on earth where there can be too much logic whatever form it's in.©
I rented a huge book from the library about mouth diseases-the colours were beautiful©[big]hello[/big]
http://www.black-zero.com
Sweet sig K_I_N_G thanks
This is like virtual life just without the sword's and helmet's.© |
|
| Author |
RE: Mac + xampp |
reaper4334
Member

Posts: 314
Location: Uk
Joined: 24.11.06 Rank: God |
|
|
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 |
SaMTHG
Member
Posts: 145
Location:
Joined: 27.03.08 Rank: God |
|
Sorry thats what I meant but it's still a Not Found 404 Message

There's no place on earth where there can be too much logic whatever form it's in.©
I rented a huge book from the library about mouth diseases-the colours were beautiful©[big]hello[/big]
http://www.black-zero.com
Sweet sig K_I_N_G thanks
This is like virtual life just without the sword's and helmet's.© |
|
| Author |
RE: Mac + xampp |
jjbutler88
Colemak User

Posts: 590
Location:
Joined: 22.04.07 Rank: Guru |
|
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 |
slpctrl
Member
Posts: 945
Location: 2147483647
Joined: 19.04.07 Rank: God |
|
Just enter http://localhost or http://127.0.0.1 see what you get
|
|
| Author |
RE: Mac + xampp |
SaMTHG
Member
Posts: 145
Location:
Joined: 27.03.08 Rank: God |
|
I thought posting the source of what I get would be more helpful:
<!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)

There's no place on earth where there can be too much logic whatever form it's in.©
I rented a huge book from the library about mouth diseases-the colours were beautiful©[big]hello[/big]
http://www.black-zero.com
Sweet sig K_I_N_G thanks:D
This is like virtual life just without the sword's and helmet's.© |
|
| Author |
RE: Mac + xampp |
slpctrl
Member
Posts: 945
Location: 2147483647
Joined: 19.04.07 Rank: God |
|
SaMTHG wrote:
I thought posting the source of what I get would be more helpful:
<!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 |
SaMTHG
Member
Posts: 145
Location:
Joined: 27.03.08 Rank: God |
|
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))

There's no place on earth where there can be too much logic whatever form it's in.©
I rented a huge book from the library about mouth diseases-the colours were beautiful©[big]hello[/big]
http://www.black-zero.com
Sweet sig K_I_N_G thanks
This is like virtual life just without the sword's and helmet's.© |
|
| Author |
RE: Mac + xampp |
jjbutler88
Colemak User

Posts: 590
Location:
Joined: 22.04.07 Rank: Guru |
|
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 |
SaMTHG
Member
Posts: 145
Location:
Joined: 27.03.08 Rank: God |
|
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...

There's no place on earth where there can be too much logic whatever form it's in.©
I rented a huge book from the library about mouth diseases-the colours were beautiful©[big]hello[/big]
http://www.black-zero.com
Sweet sig K_I_N_G thanks
This is like virtual life just without the sword's and helmet's.© |
|
| Author |
RE: Mac + xampp |
spyware
Member

Posts: 4190
Location: The Netherlands
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 “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 “Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert |
|
| Author |
RE: Mac + xampp |
SaMTHG
Member
Posts: 145
Location:
Joined: 27.03.08 Rank: God |
|
Sorry spyware no I don't know what your on about

There's no place on earth where there can be too much logic whatever form it's in.©
I rented a huge book from the library about mouth diseases-the colours were beautiful©[big]hello[/big]
http://www.black-zero.com
Sweet sig K_I_N_G thanks
This is like virtual life just without the sword's and helmet's.© |
|
| Author |
RE: Mac + xampp |
spyware
Member

Posts: 4190
Location: The Netherlands
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 “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 “Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
Edited by spyware on 19-08-08 21:08 |
|
| Author |
RE: Mac + xampp |
jjbutler88
Colemak User

Posts: 590
Location:
Joined: 22.04.07 Rank: Guru |
|
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.
|
|