several virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a RH9.0 

[philippe@asus philippe]$ more /etc/host*
::::::::::::::
/etc/host.conf
::::::::::::::
order hosts,bind
::::::::::::::
/etc/hosts
::::::::::::::
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               asus localhost.localdomain localhost
::::::::::::::

allow and deny are empty

I have only one network card (it is my laptop)

I want to access with apache2 :

/var/www/html/ as http://localhost
/var/www/folder1 as http://folder1
and
/var/www/folder2 as http://folder2


How do I set up httpd.conf and hosts  to do such thing ?

thanks in advance


Philippe


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux