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.
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
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
-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.
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
-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
> 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
-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