Hey guys,
I recall being able to configure vhosts a few years back but now with the slight changes in httpd I've been having a really hard time and getting frustrated. I've tried apache.org and have read docs, did searches on google but still I can't seem to get it right... could someone please help me??
#
# Use name-based virtual hosting.
#
NameVirtualHost 192.168.1.1
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost 192.168.1.1>
ServerAdmin
saruul@yahoo.com
DocumentRoot /home/httpd/html/saruul
ServerName saruul.homelinux.com
ErrorLog logs/saruul.homelinux.com-error_log
CustomLog logs/saruul.homelinux-access_log common
</VirtualHost>
These directives just bring me back to my default root directory and not to the one specified
Thanks! ;O)