Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Antonio Moreno
Hi all, You can review the rules of the reference manual of apache server, RedirectMatch is equivalent to |Redirect | http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirectmatch an introduction to redirect: http://www.webma

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Igor Cicimov
There is more than one solution. You can use RedirectMatch with negation or RewriteRule with negation or RewriteCond combined with RewriteRule. On 18/12/2012 10:19 PM, "Coert Waagmeester" wrote: > > > On 2012/12/18 11:53 AM, Coert Waagmeester wrote: > >> Hello all, >> >> We run a webserver with

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Daniel Gruno
On 12/18/2012 12:18 PM, Coert Waagmeester wrote: > > > On 2012/12/18 11:53 AM, Coert Waagmeester wrote: >> Hello all, >> >> We run a webserver with multiple domains pointing to it. >> >> Only one DNS name is used to serve our website. >> All the other DNS names (which exist for purposes other tha

Re: [users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Coert Waagmeester
On 2012/12/18 11:53 AM, Coert Waagmeester wrote: Hello all, We run a webserver with multiple domains pointing to it. Only one DNS name is used to serve our website. All the other DNS names (which exist for purposes other than www) I redirect to our main DNS name. ServerName mysvcname.n

[users@httpd] VirtualHost Redirect with an exception

2012-12-18 Thread Coert Waagmeester
Hello all, We run a webserver with multiple domains pointing to it. Only one DNS name is used to serve our website. All the other DNS names (which exist for purposes other than www) I redirect to our main DNS name. ServerName mysvcname.net ServerAlias www.mysvcname.net