Testing a web site with xampp installed

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Testing a web site with xampp installed

Postby nemetode » 23. February 2012 23:52

I have xampp installed and want to test my web site on the server but, as xampp is installed, every time I do http://localhost all that comes up is xampp.. How do I get round this?
nemetode
 
Posts: 2
Joined: 23. February 2012 23:48
Operating System: opensuse 12

Re: Testing a web site with xampp installed

Postby JonB » 24. February 2012 00:13

you have to enter the full url

http://localhost/yourfoldername/yourfile.xxx

If you only enter localhost, the index.php will be served, and that is a redirector to the XAMPP welcome page

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Testing a web site with xampp installed

Postby nemetode » 24. February 2012 01:50

JonB wrote:you have to enter the full url

http://localhost/yourfoldername/yourfile.xxx


Nope that doesn't seem to work..

JonB wrote:If you only enter localhost, the index.php will be served, and that is a redirector to the XAMPP welcome page

Good Luck
8)


Well that is a bit stupid - you would think it would pop-up an optional choice...
nemetode
 
Posts: 2
Joined: 23. February 2012 23:48
Operating System: opensuse 12

Re: Testing a web site with xampp installed

Postby JonB » 24. February 2012 04:21

Well that is a bit stupid - you would think it would pop-up an optional choice...
:shock:

I have no idea what to say...

OK -- I'm wrong -- "that's what happens when you type "www.google.com" - it gets the index page for the ServerRoot as specified in the hierarchy of pages defined in the webserver configuration".

'localhost' is a hostname in DNS...


Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 33 guests