Re: [users@httpd] mod_rewrite question on directory

2019-06-11 Thread Igor Cicimov
Agree, much better than all that rewrite gymnastics. IC On Wed, Jun 12, 2019, 6:30 AM Frank wrote: > No, I assure you, ,mod_rewrite is not needed here. > > To enforce a canonical hostname, use the Redirect directive and separate > vhost. To have all requests handled by a php routing script,

Re: [users@httpd] mod_rewrite question on directory

2019-06-11 Thread Frank
No, I assure you, ,mod_rewrite is not needed here. To enforce a canonical hostname, use the Redirect directive and separate vhost. To have all requests handled by a php routing script, use FallbackResource /path/to/file.php Lastly, to redirect to https://, use Redirect from a :80 vhost. On

[users@httpd] Reverse proxy server - SIGSEGV

2019-06-11 Thread Don Poitras
Hello. Recently, we ran a stress test (using Loadrunner) against our backend server using Apache as a reverse-proxy server. We've been running this way for some years. It's not clear when the last time (or if ever) this stress test was run, but we noticed that we were getting SegVs in various

Re: [users@httpd] mod_rewrite question on directory

2019-06-11 Thread Jim Weill
The sites I am trying to model are drupal-based. We aren't dealing with plain static HTML or PHP sites. We have the main server, which this test server is trying to mirror, and a secondary project server which exists to give project people limited root access to update their own code. The

Re: [users@httpd] mod_rewrite question on directory

2019-06-11 Thread Frank
You are also grossly abusing mod_rewrite for this. It isn't needed at all. Use FallbackResource, Redirect, and separate vhosts, as Igor mentioned. On 11/06/19 01:33 AM, Igor Cicimov wrote: > Since you already have two separate domains why not use virtual hosts > each with it's own document root?