Forum: Typo overriding Typo's .htaccess

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Be98e024732613d3bd377f28d4a31719?d=identicon&s=25 Ernie Oporto (Guest)
on 2007-01-03 18:23
(Received via mailing list)
I have a .htaccess at the top level of my web server.  I have a need to
place a redirect in there for the link, but this seems to be
overridden by the .htaccess in the blog/public directory or possibly
other area in Typo.  Does anyone know how I can override that from the
level?  Placing my redirect into the blog/public/.htaccess does not seem
help.  Note that the "newurl" below is not under the /blog tree.

    RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml
    RewriteRule ^blog/xml/rss20/feed.xml "newurl" [R=301,NC,L]

or if this is braindead easy, slap me hard to wake me up. =)
74c036cfbef785b139d06ccad4687b44?d=identicon&s=25 Mike Mondragon (Guest)
on 2007-01-03 19:56
(Received via mailing list)
Its not clear to me context of the problem you are trying to solve.

An experience of mine might be related...
I'm running apache and proxy "/blog" requests to an instance of Mongrel
is running typo.  Here's the blog post about doing that:

This might also be related to the problem you are solving ...
I wanted the Typo sitemap.xml to be in the root of my webserver instead
At first I used an apache redirect:
RedirectMatch ^/sitemap.xml$

But I dropped that and just have an hourly cron dump the real file to
root of the webserver:
wget -q -O - >

Be98e024732613d3bd377f28d4a31719?d=identicon&s=25 Ernie Oporto (Guest)
on 2007-01-03 22:10
(Received via mailing list)
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
IP address and clicks for subscribers.
This works for other feeds, but Typo has its own tree under all this
seems to be interfering.
It requires something like the following in .htaccess in the root of the

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= [R=301,NC,L]
6451ee8093c9cedc94f6c813b4dde2c5?d=identicon&s=25 Kevin Ballard (Guest)
on 2007-01-04 00:23
(Received via mailing list)
Typo-list mailing list
Be98e024732613d3bd377f28d4a31719?d=identicon&s=25 Ernie Oporto (Guest)
on 2007-01-04 02:09
(Received via mailing list)
Note the line about the secretcode in the querystring.  The pepper keeps
that secretcode when it requests it from the server, so it passes
without looping.

The top level .htaccess does not in fact catch this for Typo URLs.  It
catch it for other feeds I have in the .htaccess
Be98e024732613d3bd377f28d4a31719?d=identicon&s=25 Ernie Oporto (Guest)
on 2007-01-06 19:30
(Received via mailing list)
No one else redirecting from inside Typo?
This topic is locked and can not be replied to.