[olug] simple alternative to mod_rewrite?

neal rauhauser nrauhauser at gmail.com
Fri Jan 8 23:58:18 UTC 2010


   Brian's incantation is correct for a server with a functional mod_rewrite
- which I don't have. I ended up using a one line http redirection and it
met the requirement. This was placed in the root directory of some random
apache server with nothing else on it ...


<meta content='0;url=http://HostingCustomerIWantToSpank.blogspot.com'
http-equiv='refresh'/>


On Fri, Jan 8, 2010 at 5:35 PM, Brian Roberson <roberson at bstc.net> wrote:

> <?php
> Header("location: http://someotherplace.com/here.html");
>
> ?>
>
> Off the top of my head, so check the syntax. Obviously this is a php
> example, you can do the same with any language that gives you access to send
> http headers.
>
>
> On Jan 6, 2010, at 10:35 PM, obiwan at jedi.com (Obi-Wan) wrote:
>
>  A 301 redirect, simple java redirect or even an iFrame could be done
>>> in just a few minutes.  I would look at those...probably in that
>>> order.
>>>
>>
>> Yeah, I'd vote for a 301 redirect for something as trivial as what you
>> need.
>> I've used them before & it was easy, but it's been a few years & I don't
>> remember how off the top of my head.
>>
>> --
>> Ben "Obi-Wan" Hollingsworth                             obiwan at jedi.com
>>  The stuff of earth competes for the allegiance I owe only to the
>>    Giver of all good things, so if I stand, let me stand on the
>>      promise that You will pull me through.  -- Rich Mullins
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> https://lists.olug.org/mailman/listinfo/olug
>>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>



-- 
mailto:Neal at layer3arts.com //
GoogleTalk: nrauhauser at gmail.com
GV: 202-642-1717



More information about the OLUG mailing list