1 |
Hans-Christian Otto wrote: |
2 |
>> <VirtualHost *:80> |
3 |
>> ServerName domain.com |
4 |
>> ServerAlias www.domain.com |
5 |
>> ServerAlias webmail.domain.com |
6 |
>> ServerAlias ... |
7 |
>> ServerAdmin ... |
8 |
>> DocumentRoot "..." |
9 |
>> ... |
10 |
>> </VirtualHost> |
11 |
>> |
12 |
>> The same applies for SSL ports. |
13 |
>> |
14 |
>> No mod_rewrite needed for that. |
15 |
> Guess he meant that this should happen automatically and he does'nt want to |
16 |
> add the subdomain to every domain... Would be nice to know for me, too. |
17 |
|
18 |
Right... plus I don't think the example given would even work if the |
19 |
ServerAliases listed need to go to different directories. I don't think |
20 |
there's any way to do this without mod_rewrite... hoping someone can |
21 |
just slip me the correct rule. |
22 |
|
23 |
b |
24 |
-- |
25 |
gentoo-server@g.o mailing list |