Page 1 of 1

prob in virtual hosting

PostPosted: 15. March 2010 11:27
by shrikarwa
1--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>


2--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

3-- i have removed comment from httpd.conf for line
Include /etc/extra/httpd-vhosts.conf


now when i am writing URL as http://test.dev it shows me a windows asking for whether to SAVEor OPENWITH option (same window when we download some file.)

i am not able to find the problem

please help me
as soon as possible
thanking u in advance