
September 11th, 2001, 08:42 PM
|
|
Registered User
|
|
Join Date: Jul 2001
Location: aaaaaa
Posts: 26
Time spent in forums: 27 m 12 sec
Reputation Power: 0
|
|
|
www.abc.com and abc.com ? how to ?
Hi ppl,
I have my linux web server and I have a virtual host,
################################################################################
<VirtualHost 1.2.3.4>
ServerName www.abc.com
ServerAlias abc.com
ServerAdmin webadmin@abc.com DocumentRoot /home/user/public_html/abc ErrorLog /var/log/abc_error.log
CustomLog /var/log/abc_access.log combined
ScriptAlias /cgi-bin/ "/home/user/public_html/cgi-bin/"
</VirtualHost>
################################################################################
If I type www.abc.com it'll take me to my site, but if I type http://abc.com then nothing happens... how can I do so that if someone types http://abc.com, it takes him to http://www.abc.com ? isn't that the serveralias directive ??
help please.
I greately appreciate it.
|