Re: mod_rewrite : the weapon of mass-destruction.

2003-06-21 Thread Andy Gardner
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

Re: mod_rewrite : the weapon of mass-destruction.

2003-06-20 Thread Andy Gardner
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

Re: mod_rewrite : the weapon of mass-destruction.

2003-06-19 Thread mm
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

Re: mod_rewrite : the weapon of mass-destruction.

2003-06-19 Thread mm
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

mod_rewrite : the weapon of mass-destruction.

2003-06-19 Thread Gavin Hamill
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 (

mod_rewrite : the weapon of mass-destruction.

2003-06-19 Thread Gavin Hamill
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 (