[FM Discuss] need some php help

Luka Frelih luka at ljudmila.org
Sun Feb 20 17:22:55 PST 2011


On 20. 02. 2011 13:21, adam wrote:
> On Sun, 2011-02-20 at 13:16 +0100, Aleksandar Erkalovic wrote:
>    
>> On Sun, Feb 20, 2011 at 1:11 PM, adam<adam at xs4all.nl>  wrote:
>>      
>>> i was worried about having a script open for anyone to use that writes
>>> directly to a htacess file...
>>>        
>> i will never understand your obsession with htaccess file :) well,
>> every request for url like /book/chapter/ is send to php script. soooo
>> you just do dispatcher in that script and problem solved. or i am
>> missing something here?!
>>
>>      
> if u wanna show me how to do the redirects then fine :)
>
>
> adam
>
>    
once you know where to redirect, (hopefully no need for real humans here),
it's just

|<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: $newurl");
exit();
?>

|LF



>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20110221/8eab82ae/attachment-0001.htm>


More information about the Discuss mailing list