On 5/26/06, Mariusz Handke <oiram@xxxxxxxxx> wrote:
Thanks for suggestion, that's what I will do, but I still think there should be other way to do it, within apache scope. Krist van Besien wrote: > > You need to do this differently. The way I would do this is change my > php script so it includes the different pages in one page, in stead of > a frameset. But this is outside the scope of this list.
You could probably do something with the referrer header. For example: <Location /test> RewriteEngine On RewriteCond %{HTTP_REFERRER} !$2$3 RewriteRule ^(.*)/([^/]*\.)(html|htm|php)$ /test-redir.php?page=/test/$2$3 [L] </Location> Krist -- krist.vanbesien@xxxxxxxxx Solothurn, Switzerland --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx