Page 1 of 1

XAMPP Lite question

PostPosted: 24. May 2013 22:08
by jch02140
HI,

I have install the XAMPP lite to my USB and I am able to run the control panel and start the apache. However, when I try going to 127.0.0.1 or localhost the browsers just redirecting me to the XAMPP web control page. IS there something else I need to do to get the webpage shows up instead of control panel?...

Re: XAMPP Lite question

PostPosted: 24. May 2013 22:25
by Altrea
Hi,

Which webpage?

Best wishes,
Altrea

Re: XAMPP Lite question

PostPosted: 25. May 2013 06:17
by jch02140
Hi Altrea,

I mean when I go to 127.0.0.1 or localhost in the address bar it shows a similar interface like this in the browser rather than the "It works!" test page.

Image

Is it actually works that way?...

Thanks.

jch02140

Re: XAMPP Lite question

PostPosted: 25. May 2013 09:35
by Altrea
Thats the default behaviour in XAMPP.

If a requested ressource points to a folder and not a specific file, Apache will search for an index ressource in a configured order.
For XAMPP 1.8.1 Apache that means it is first looking for index files in that order:
Code: Select all
index.php index.pl index.cgi index.asp index.shtml index.html index.htm default.php default.pl default.cgi default.asp default.shtml default.html default.htm home.php home.pl home.cgi home.asp home.shtml home.html home.htm

(i don't know if the list is the same for the lite version - it is defined in the DirectoryIndex setting in your xampp\apache\conf\httpd.conf)

The It works page is an index.html file but as you can see just on position 6 in that list. 5 other pages will be served first if present.
XAMPP 1.8.1 Apache will found an index.php file and will serve it first and this index.php file contains a redirect to the ressources of the orange XAMPP Administration page.

best wishes,
Altrea

Re: XAMPP Lite question

PostPosted: 25. May 2013 21:29
by jch02140
Oh ok.

That makes sense now.
Thanks for the clarification, Altrea :D