virtual host problem:Directing to Document root of localhost

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

virtual host problem:Directing to Document root of localhost

Postby shrikarwa » 15. March 2010 11:04

i have changed the contents of httpd-vhost.conf as following

<VirtualHost 127.0.2.1>
ServerName test.dev
DocumentRoot "/opt/lampp/virtual/"
<Directory "/opt/lampp/virtual/">
Options Indexes FollowSymLinks Includes ExecCGI
AddType text/shtml .shtml
AddOutputFilter INCLUDES .shtml
AllowOverride All Order allow,deny
Allow from all
</Directory>
</VirtualHost>


i have created index.html in /opt/lampp/virtual/ directory.
and also made following entry to /etc/hosts file
127.0.2.1 test.dev

now when i am writing URL as http://test.dev is shows me the same page as http://localhost shows

i am not able to find the problem

please help me
as soon as possible
thanking u in advance
shrikarwa
 
Posts: 2
Joined: 15. March 2010 10:52

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 76 guests