[typo] overriding Typo's .htaccess

Kevin Ballard kevin at sb.org
Wed Jan 3 18:19:47 EST 2007

I'm not terribly familiar with apache and mod_rewrite, I would  
*assume* putting the rewrite in the .htaccess in the root would take  
precedence over the one in typo/public.

That said, the rewrite here puzzles me. Wouldn't Pepper have to fetch  
the real feed.xml using that URL, which would then, uh, be rewritten  
to Pepper itself? In other words, wouldn't this cause a loop?

On Jan 3, 2007, at 4:01 PM, Ernie Oporto wrote:

> An explanation is in order.  This is for a new Pepper in Mint.
> In effect, I am redirecting to a PHP script that is taking care of  
> tracking IP address and clicks for subscribers.
> This works for other feeds, but Typo has its own tree under all  
> this which seems to be interfering.
> It requires something like the following in .htaccess in the root  
> of the directory.
> RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml
> RewriteCond %{QUERY_STRING} !secretcode=a8e618
> RewriteRule ^blog/xml/rss20/feed.xml /mint/pepper/hansvankilsdonk/ 
> feedback/tracker.php?secretcode=a8e618&FB_feed=http://www.shokk.com/ 
> blog/xml/rss20/feed.xml [R=301,NC,L]

Kevin Ballard
kevin at sb.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/8d616883/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2432 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/typo-list/attachments/20070103/8d616883/attachment.bin 

More information about the Typo-list mailing list