[typo] overriding Typo's .htaccess

Ernie Oporto ernieoporto at gmail.com
Fri Jan 5 11:58:20 EST 2007


No one else redirecting from inside Typo?


On 1/3/07, Ernie Oporto <ernieoporto at gmail.com> wrote:
>
>
> Note the line about the secretcode in the querystring.  The pepper keeps
> that secretcode when it requests it from the server, so it passes through
> without looping.
>
> The top level .htaccess does not in fact catch this for Typo URLs.  It
> does catch it for other feeds I have in the .htaccess
>
>
> On 1/3/07, Kevin Ballard <kevin at sb.org> wrote:
>
> > 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
> > http://kevin.sb.org
> > kevin at sb.org
> > http://www.tildesoft.com
> >
> >
> >
> > _______________________________________________
> > Typo-list mailing list
> > Typo-list at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/typo-list
> >
> >
> >
>
>
> --
> Ernie
> http://www.shokk.com/blog/
>



-- 
Ernie
http://www.shokk.com/blog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20070105/5c96cc0b/attachment.html 


More information about the Typo-list mailing list