The first item of the rewrite command cannot include a hostname in it,
only the location on the host and name of the object they're asking for.
You need to use a RewriteCond clause before the RewriteRule to check
the host name.
Refer to http://httpd.apache.org/docs/mod/mod_rewrite.html
RewriteC
The first item of the rewrite command cannot include a hostname in it,
only the location on the host and name of the object they're asking for.
You need to use a RewriteCond clause before the RewriteRule to check
the host name.
Refer to http://httpd.apache.org/docs/mod/mod_rewrite.html
Rewrite
I think something like this could help
ServerName server2.com
ServerAlias www.server2.com
RedirectMatch (.*)\.* "http://www.server1.com/site2.html
Michael Moritz
Gavin Hamill wrote:
Hi :)
I've been trying to learn mod_rewrite to do /anything/ and I'm failing. Please
take pity on me, oh mighty on
I think something like this could help
ServerName server2.com
ServerAlias www.server2.com
RedirectMatch (.*)\.* "http://www.server1.com/site2.html
Michael Moritz
Gavin Hamill wrote:
Hi :)
I've been trying to learn mod_rewrite to do /anything/ and I'm failing. Please
take pity on me, oh migh
Hi :)
I've been trying to learn mod_rewrite to do /anything/ and I'm failing. Please
take pity on me, oh mighty ones ! ;)
I wanted to use mod_rewrite as a technology test, and to learn something new,
but it has simply driven me to distraction... perhaps someone could help?
I have a woody box (
Hi :)
I've been trying to learn mod_rewrite to do /anything/ and I'm failing. Please
take pity on me, oh mighty ones ! ;)
I wanted to use mod_rewrite as a technology test, and to learn something new,
but it has simply driven me to distraction... perhaps someone could help?
I have a woody box (
6 matches
Mail list logo