problem whit localhost or htdocs ???

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

problem whit localhost or htdocs ???

Postby jl2035 » 19. April 2009 12:18

I intalled lampp and I can start it whit no problems. If I type "localhost" in a browser i get the message "It works!".
Now I want to install joomla, so I paste the folder into /opt/lampp/htdocs folder. - localhost/Joomla is not working!
I make a directory 'something' and write simple 'index.html' inside it...
in a web browser: "http://localhost/something/index.html" ...gives me the error: '404 Not Found' same as before:
Code: Select all
Not Found
The requested URL /something/index.html was not found on this server.
Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch Server at localhost Port 80

Any ideas why is this happening?? What am I doing wrong?
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
Operating System: ElementaryOS (Ubuntu)

Re: problem whit localhost or htdocs ???

Postby Wiedmann » 19. April 2009 12:26

I intalled lampp and I can start it whit no problems. If I type "localhost" in a browser i get the message "It works!".

This message is not from a XAMPP for Linux.
--> With "http://localhost/" you should see the XAMPP demopage.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: problem whit localhost or htdocs ???

Postby jl2035 » 19. April 2009 12:52

You're right. If I stop lampp(/opt/lampp/lampp stop) I get the message "It Works!" anyway!
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
Operating System: ElementaryOS (Ubuntu)

Re: problem whit localhost or htdocs ???

Postby jl2035 » 19. April 2009 13:05

I think this is from the folder /var/www. If i create sample index.html like before but now
in this folder(/var/www/something) it works. So OS runs this 'localhost' not xampp...
jl2035
 
Posts: 22
Joined: 17. March 2009 18:39
Operating System: ElementaryOS (Ubuntu)


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests