hello,
I have installed Scientific linux and having trouble with virtual hosts.
I set my hostname as "lunar.example.com"
and those are my apache settings:
----------------------------------------------------------------------
ServerName lunar.example.com
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /home/can/public_html/example
ServerName example.com
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/can/public_html/example
ServerName example.com
</VirtualHost>
----------------------------------------------------------------------
www.example.com is working fine.
but both www.example.com/example.com are redirecting to www.example.com
what am I doing wrong here?
thanks a lot
[edited by: tedster at 5:46 pm (utc) on Feb 14, 2012]
[edit reason] switch to example.com [/edit]