Re: [users@httpd] Rewrite Rule Help (again)

2012-07-07 Thread Chris Arnold
On Jul 7, 2012, at 10:54 AM, Chris Arnold wrote: >>> That's the same as if it ended with a slash, and matched by ^/$ > > Ok my host file has RewriteRule ^/$ http://update.domain.com [L] > When I goto http://update.domain.com using safari, I receive: > Response Error. > > Technical description:

Re: [users@httpd] Restricting an Apache Module (Handler) to a Virtual Host

2012-07-07 Thread Eric Covener
On Sat, Jul 7, 2012 at 9:12 AM, Daniel Ruggeri wrote: > On 7/6/2012 2:44 PM, Andrew wrote: >> I have written an Apache Module that performs an internal redirect >> (ap_internal_redirect) based on certain conditions. Then mod_proxy >> handles proxying the request to a backend server. I'm using the

Re: [users@httpd] Rewrite Rule Help (again)

2012-07-07 Thread Chris Arnold
>> That's the same as if it ended with a slash, and matched by ^/$ Ok my host file has RewriteRule ^/$ http://update.domain.com [L] When I goto http://update.domain.com using safari, I receive: Response Error. Technical description: 502 Bad Gateway - Response Error, a bad response was received fr

Re: [users@httpd] Restricting an Apache Module (Handler) to a Virtual Host

2012-07-07 Thread Daniel Ruggeri
On 7/6/2012 2:44 PM, Andrew wrote: > I have written an Apache Module that performs an internal redirect > (ap_internal_redirect) based on certain conditions. Then mod_proxy > handles proxying the request to a backend server. I'm using the > ap_hook_post_read_request hook with APR_HOOK_MIDDLE. I wou