Page 1 of 1

I cannot enter to the XAMPP adminstration panel if i create

PostPosted: 27. January 2010 07:32
by tirengarfio
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

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

PostPosted: 27. January 2010 07:52
by Wiedmann
YOu also need a vhost for the default DocumentRoot.

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

PostPosted: 27. January 2010 12:46
by tirengarfio
Thanks Wiedman, but i dont understand..could you explain some more?

Javi

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

PostPosted: 28. January 2010 14:22
by tirengarfio
I just added this to http-vhosts.conf and now works

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


Javi