I cannot enter to the XAMPP adminstration panel if i create

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

I cannot enter to the XAMPP adminstration panel if i create

Postby tirengarfio » 27. January 2010 07:32

Hi,

i have installed XAMPP i think ok, at least if the write localhost/xampp i go to the administration panel.

Then i have added a virtual host this way:

I have written this in httpd-vhosts.conf:

Code: Select all
<VirtualHost *:80>
   ServerName rs.localhost
   DocumentRoot /opt/lampp/htdocs/rs/web
</VirtualHost>


and this is my /etc/hosts


Code: Select all
127.0.0.1 localhost
127.0.1.1 tirengarfio-laptop

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

# Virtual Hosts
127.0.0.1 rs.localhost


My problem: after that i can not enter to the XAMPP administration panel any more..I says: Object not found! The request URL was not found in this server.

Any idea?

Javi
tirengarfio
 
Posts: 30
Joined: 19. October 2008 18:28

Re: I cannot enter to the XAMPP adminstration panel if i create

Postby Wiedmann » 27. January 2010 07:52

YOu also need a vhost for the default DocumentRoot.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: I cannot enter to the XAMPP adminstration panel if i create

Postby tirengarfio » 27. January 2010 12:46

Thanks Wiedman, but i dont understand..could you explain some more?

Javi
tirengarfio
 
Posts: 30
Joined: 19. October 2008 18:28

Re: I cannot enter to the XAMPP adminstration panel if i create

Postby tirengarfio » 28. January 2010 14:22

I just added this to http-vhosts.conf and now works

Code: Select all
<VirtualHost *:80>
DocumentRoot /opt/lampp/htdocs
ServerName localhost
</VirtualHost>


Javi
tirengarfio
 
Posts: 30
Joined: 19. October 2008 18:28


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 75 guests