Where to put files in XAMPP...

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Where to put files in XAMPP...

Postby bartolo » 07. October 2008 00:18

or does a config file need attention???

I'm new to XAMPP and am experiencing difficulties with the browser seeing the 2 test files that I built. I have both an index.html doc and an index.php doc inside my site folder at:

/Applications/xampp/htdocs/mySiteFolder/

1) I have tried every conceivable path to get from the browser to the files. Nothing, but errors: "The request URL was not found on this server."

2) When I go to the file via File > Open File..., I do get the html file to respond properly. But the php file just writes back my php code to the browser.

Thanks in advance
bartolo
 
Posts: 10
Joined: 06. October 2008 22:41
Location: Los Angeles

Postby glitzi85 » 07. October 2008 02:17

http://localhost/mySiteFolder/filename.php

localhost refers normally to /Applications/xampp/htdocs.

You must be careful with the typing as Apache is Case-Sensitive!

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests