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

Re: Apache2 & mod_rewrite

David Clymer ha scritto:

Perhaps I don't understand exactly what you want to do..but wouldnt it

be much easier to add a ServerAlias to the vitualhost config?

  ServerName domain1.com
  ServerAlias www.domain1.com


Hi David,
I would want rewrite the URL of client
ex. http://domain1.com --> http://www.domain1.com
with 1 Virtualhost is OK, but when I insert a second virtual host
the game does not work :-)
ex. http://domain2.com --> http://www.domain1.com
I would want http://domain2.com --> http://www.domain2.com

Could you help me???

Reply to: