Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] redirect to url w/query_string ???

Mike Schleif

2008-06-20

Replies: Find Java Web Hosting

Author LoginPost Reply
* Joshua Slive <joshua@(protected):
> On Fri, Jun 20, 2008 at 12:51 PM, Mike Schleif <mds@(protected):
>
> >
> > It creates rewrite.log; but, does not write anything there.
>
> That means your RewriteRules are not being seen at all in the request
> processing. Exactly where in your config files are you putting them?
>
> Joshua.

Very, very strange ?!?!

I replaced the RewriteRule discussed with this:

  RedirectMatch ^/$ http://www.Other_domain.tld/?rid=48830

Of course, that redirected to Other_domain.tld; but, failed by
%-escaping the "?".

Then, I replaced that with the list suggested:

  RewriteRule ^/.*$ http://www.Other_domain.tld/?rid=48830 [noescape]

NOW, that works ?!?!


However, still NO logging.

  RewriteLog  "/var/log/apache/rewrite.log"
  RewriteLogLevel 9

These directives all reside within the subject <VirtualHost *> section.


What am I missing?

--
Best Regards,

Mike Schleif
mds resource
877.596.8237
-
What will you do with 1 Million website visitors?
<http://millionsoffreevisitors.com>
--

Attachment: signature.asc (zipped)
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.