fix php-silica rewrite or internal redirection cycle