Show my page instead of the xamp-/apache-stuff

Alles, was den Apache betrifft, kann hier besprochen werden.

Show my page instead of the xamp-/apache-stuff

Postby bluewave123 » 26. May 2008 21:23

hi,

to see my homepage, I must enter http://localhost/index.html.
But I just want to enter http://localhost/.

If I do so not my homepage is displayed, but some appache control panel stuff is shown.

Where are the settings to teach the xamp / appache that he should send my homepage for the URL: http://localhost/ and not the appache stuff.

Thank's for your help in advance.

tom
bluewave123
 
Posts: 2
Joined: 26. May 2008 21:10

Postby sari42 » 27. May 2008 09:33

rename or remove index.php (and maybe index.htm) from xampp/htdocs/
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby bluewave123 » 27. May 2008 18:52

cool, it work's!
- Thanks for the fast help :lol:
bluewave123
 
Posts: 2
Joined: 26. May 2008 21:10

Postby Mario Lanz » 27. May 2008 22:04

that's because the priority on file endings say, it has to load php before html... ;)
User avatar
Mario Lanz
 
Posts: 104
Joined: 13. October 2004 22:47
Location: CH, Volketswil

Postby sari42 » 27. May 2008 23:24

it depends on the order in the DirectoryIndex line IMHO ...
sari42
 
Posts: 800
Joined: 27. November 2005 18:28


Return to Apache

Who is online

Users browsing this forum: No registered users and 3 guests