238 reputation
312
bio website
location Chur, Switzerland
age 27
visits member for 3 years, 1 month
seen Dec 12 at 12:18

Dec
1
awarded  Constituent
Nov
27
comment Can I set a different DocumentRoot based on a browsers user agent?
I don't know if you can set the docroot that way. But alternatively you could create subdomains aaa.example.org and bbb.example.org and use a RewriteCond. Or you could create two subdirectories and make a RewriteCond to www.example.org/aaa or www.example.org/bbb.
Nov
25
awarded  Caucus
Jul
26
comment List top 404 URLs in Apache access_log
There is no need to use cat and pipe the output to awk. awk can read files itself ;) awk '{ if($9 == 404) { print $7 } }' access_log | sort | uniq -c | sort -nr | head -10
May
27
comment Postfix: How to apply header_checks only for specific Domains?
@Zulakis No, in the End I didn't have to. I don't remember why any more, but I think the customer found a work around, that he preferred, on his side.
May
24
awarded  Caucus
Feb
23
awarded  Notable Question
Nov
8
comment Postfix: How to apply header_checks only for specific Domains?
Thanks for the answer, I never thought of that. For me the problem kind of solved itself, in the way that we didn't need it anymore...
Oct
26
awarded  Yearling
Sep
26
awarded  Popular Question
Sep
18
awarded  Revival
Jun
8
awarded  Caucus
Jun
7
comment Choice of Ubuntu or Ubuntu LTS for Virtualmin Server
In this image you can see when the end of life will be for the different versions.
Mar
14
answered How to prevent sending vacation autoreply when a mail is sent to an alias in postfix?
Jan
16
awarded  Critic
Dec
12
comment Setting up virtual host by editing apache httpd.conf (for Zend framework) opens XAMPP page, not Zend's
Please edit the question to include all brackets etc. Also post the configuration as code {}-Button
Dec
12
answered Forwarding subdomains
Dec
8
comment subdomain of a subdomain on Server 11.10
In that case, a ServerAlias should do the trick for you. I edited my answer to include one. You can find the corresponding Apache Manual site here
Dec
7
revised subdomain of a subdomain on Server 11.10
added Edit: Subdomain as ServerAlias for the same Directory
Dec
7
comment subdomain of a subdomain on Server 11.10
Something occured to me just now: Do you want the sudomains to point to the same or to a different website?