Hans-Christian Otto wrote:
Guess he meant that this should happen automatically and he does'nt want to add the subdomain to every domain... Would be nice to know for me, too.<VirtualHost *:80> ServerName domain.com ServerAlias www.domain.com ServerAlias webmail.domain.com ServerAlias ... ServerAdmin ... DocumentRoot "..." ... </VirtualHost>The same applies for SSL ports. No mod_rewrite needed for that.
Right... plus I don't think the example given would even work if the ServerAliases listed need to go to different directories. I don't think there's any way to do this without mod_rewrite... hoping someone can just slip me the correct rule.
b -- [email protected] mailing list
