Re: [users@httpd] RewriteRule help

2013-04-12 Thread Dean Del Ponte
Thanks Pete! I guess I have something wonky with my Apache config. Rewrites work but Redirects don't. Redirects have no affect. I'll look into it a bit more. Thanks again! Dean On Fri, Apr 12, 2013 at 9:44 AM, Pete Houston wrote: > No need to use RewriteRule for that, simply use Redirect.

Re: [users@httpd] RewriteRule help

2013-04-12 Thread Pete Houston
No need to use RewriteRule for that, simply use Redirect. Redirect /products/flash /flash http://httpd.apache.org/docs/2.4/mod/mod_alias.html#redirect Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107 pgp4dt348

[users@httpd] RewriteRule help

2013-04-12 Thread Dean Del Ponte
Would someone be so kind as to provide an example solution for the following problem. I would like all requests to the base url "/products/flash/**" redirected to /flash/** For example /products/flash/awesomenessredirects to/flash/awesomeness /products/flash/really/cool/stuffredirect

Re: [users@httpd] RewriteRule help

2011-07-25 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 O>> That does not change anything. Here is what I put in the CONF file: >> >> > Directory is basically the same as htaccess. > Oh. My ISP has a rather restrictive approach to what can be modified in . The virtualhost definitions are off limits.

Re: [users@httpd] RewriteRule help

2011-07-24 Thread Eric Covener
On Sun, Jul 24, 2011 at 6:36 PM, James Moe wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/23/2011 12:26 PM, Eric Covener wrote: >>> How do I get the redirection to occur before the non-secure >>> authorization request? >>> >> >> If you put the rules in virtualhost context inste

Re: [users@httpd] RewriteRule help

2011-07-24 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/2011 12:26 PM, Eric Covener wrote: >> How do I get the redirection to occur before the non-secure >> authorization request? >> > > If you put the rules in virtualhost context instead of htaccess, > they'll be evaluated earlier. > That d

Re: [users@httpd] RewriteRule help

2011-07-23 Thread Eric Covener
>  How do I get the redirection to occur before the non-secure > authorization request? > If you put the rules in virtualhost context instead of htaccess, they'll be evaluated earlier. - The official User-To-User support forum of

[users@httpd] RewriteRule help

2011-07-23 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, This rule works, mostly. It is in the .htaccess file of the DocumentRoot. RewriteEngine On RewriteCond %{REQUEST_URI} =/teachers/ [OR] RewriteCond %{REQUEST_URI} =/gated-bm/ RewriteCond %{SERVER_PORT} =80 RewriteRule ^(.*)$ https://%{HTTP_HOS