[clue] Web Site

Will will.sterling at gmail.com
Tue May 17 16:50:08 MDT 2011


Ha, I always due just the opposite.  I show people mod_alias because I
figure mod_rewrite will send them home cursing Apache for being impossible
to configure :-).

On Tue, May 17, 2011 at 4:46 PM, Brandon Allhands <brandon at toolking.com>wrote:

> Also, if you are not using the original URI info, you can leave out the
> (.*) and instead have / (Or even .*, which would be literally everything).
> The parenthesis are only if you plan on using what's within them later (Via
> $1). I wasn't sure if there was any sort of mapping of old URLs to their new
> version.
>
> I normally give the Rewrite example, as it gets people looking into
> mod_rewrite, which is crazy powerful cool. It also allows a really granular
> level of rewrite control. We have a couple of rewrite rules on our site that
> call external scripts to handle really old URLs from when we did our site
> conversion last year. It's just a really good tool to know, if you do any
> sort of apache server administration.
>
>
> Brandon Allhands
> IT Manager
> brandon at toolking.com
>
> On May 17, 2011, at 4:37 PM, Will wrote:
>
> Wouldn't you want to leave out the $1 not the (.*)?  You still want
> everyone redirected you just don't want to append the path and file that was
> requested to the new URL.
>
> Also if you do not want to re-write the URLs while keeping the rest of the
> URL intact a simple redirect will suffice and be much simpler for others to
> understand.
>
> RedirectMatch 301 ^/(.*) http://www-dev.cluedenver.org/ <http://www-dev.cluedenver.org/$1>
>
>
> On Tue, May 17, 2011 at 4:20 PM, Brandon Allhands <brandon at toolking.com>wrote:
>
>> in .htaccess:
>>
>> RewriteEngine on
>> RewriteCond %{HTTP_HOST} www.cluedenver.org
>> RewriteRule /(.*) http://www-dev.cluedenver.org/$1 [R=301]
>>
>>
>> 301 is temp, 302 is permanent. You can omit the /(.*) if the new URLs
>> don't match up. (The config above will take anything after the initial / and
>> add it to the new, redirected request.
>>
>>
>>  Brandon Allhands
>> IT Manager
>> brandon at toolking.com
>> 1.800.696.TOOL
>> ToolKing.com
>> 11111 West Sixth Ave Unit D
>> Lakewood, CO 80215
>> 303.500.0427 - Direct
>>
>> View our Tool Deals of the Day @ www.Tooliday.com
>>
>> Check out our tool blog, www.Toologics.com
>>
>> CONFIDENTIALITY NOTICE - This e-mail transmission, and any document, files
>> or previous e-mail messages attached to it, may contain information that is
>> confidential or legally privileged. If you are not the intended recipient,
>> or a person responsible for delivering it to the intended recipient, you are
>> hereby notified that you must not read or play this transmission and that
>> any disclosure, copying, printing, distribution or use of any the
>> information contained in or attached to this transmission is STRICTLY
>> PROHIBITED. If you have received this transmission in error, please
>> immediately notify the sender by telephone or return e-mail and delete the
>> original transmission and its attachments without reading or saving in any
>> manner. Thank you.
>>
>> On May 17, 2011, at 4:17 PM, dennisjperkins at comcast.net wrote:
>>
>> Sounds like a good idea.  I'll find out how to do this.
>>
>> ----- Original Message -----
>> From: "Brandon Allhands" <brandon at toolking.com>
>> To: "CLUE's mailing list" <clue at cluedenver.org>
>> Sent: Tuesday, May 17, 2011 3:51:35 PM
>> Subject: Re: [clue] Web Site
>>
>> I can confirm the same behavior here. There is enough time to actually
>> read information and click before the redirect happens.
>>
>> Can you guys throw a .htaccess to do this at the apache layer? Would
>> reduce load on the server (Since it wouldn't have to draw the old page).
>>
>>
>>  Brandon Allhands
>> IT Manager
>> brandon at toolking.com
>> 1.800.696.TOOL
>> ToolKing.com
>> 11111 West Sixth Ave Unit D
>> Lakewood, CO 80215
>> 303.500.0427 - Direct
>>
>>
>> On May 17, 2011, at 3:48 PM, YES NOPE9 wrote:
>>
>> The website www.cluedenver.org is supposed to redirect instantly to
>> http://www-dev.cluedenver.org/ which is the new CLUE website.  The
>> redirect is very sloooow and so is the new website.  The DRUPAL7 team is
>> looking into what the issue is.  All new information regarding CLUE is being
>> placed only in the new website. ( YIKES .... that is what is supposed to be
>> happening ).
>> If you wish to help troubleshoot the DRUPAL7 site please contact Dennis
>> Perkins.
>> 99guspuppet   CZAR of CLUE finances
>>
>>
>>
>> On May 17, 2011, at 3:38 PM, Will wrote:
>>
>> When I got to www.cluedenver.org I see the old site and after a few
>> seconds I'm redirected to http://www-dev.cluedenver.org/  Is it supposed
>> to work that way?
>>
>> _______________________________________________
>> clue mailing list
>> clue at cluedenver.org
>> http://cluedenver.org/mailman/listinfo/clue
>>
>>
>>
>> _______________________________________________
>> clue mailing list
>> clue at cluedenver.org
>> http://cluedenver.org/mailman/listinfo/clue
>> _______________________________________________
>> clue mailing list
>> clue at cluedenver.org
>> http://cluedenver.org/mailman/listinfo/clue
>>
>>
>>
>> _______________________________________________
>> clue mailing list
>> clue at cluedenver.org
>> http://cluedenver.org/mailman/listinfo/clue
>>
>
> _______________________________________________
> clue mailing list
> clue at cluedenver.org
> http://cluedenver.org/mailman/listinfo/clue
>
>
>
> _______________________________________________
> clue mailing list
> clue at cluedenver.org
> http://cluedenver.org/mailman/listinfo/clue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20110517/6a9b106f/attachment-0001.html 


More information about the clue mailing list