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#redirect>|
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirectmatch
an introduction to redirect:
http://www.webmasterworld.com/forum92/82.htm
A greeting.
El 18/12/12 12:24, Igor Cicimov escribió:
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" <lgro...@waagmeester.co.za
<mailto:lgro...@waagmeester.co.za>> 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 than
www) I
redirect to our main DNS name.
<VirtualHost *:80>
ServerName mysvcname.net <http://mysvcname.net>
ServerAlias www.mysvcname.net <http://www.mysvcname.net>
Redirect / http://www.mywwwname.net
</VirtualHost>
This works perfectly, but on one of the machines where I have this
Redirect, I am running mailman which used to listen on
mysvcname.net/mailman <http://mysvcname.net/mailman> which
also gets Redirected now wrongly.
Can I add an exception in someway that mysvcname.net
<http://mysvcname.net> gets redirected,
but mysvcname.net/mailman <http://mysvcname.net/mailman> stays
as it should?
Thank you in advance,
Coert Waagmeester
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
<mailto:users-unsubscr...@httpd.apache.org>
For additional commands, e-mail: users-h...@httpd.apache.org
<mailto:users-h...@httpd.apache.org>
I have googled some, and everything points to RewriteCond
Going to try that.
Thanks,
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
<mailto:users-unsubscr...@httpd.apache.org>
For additional commands, e-mail: users-h...@httpd.apache.org
<mailto:users-h...@httpd.apache.org>