URL Rewrite - any update in new PanOS 4.1?

Showing results for 
Search instead for 
Did you mean: 

URL Rewrite - any update in new PanOS 4.1?

L1 Bithead

We are increasingly seeing the need for a URL rewrite feature - we had hoped to use it for one of the ways to force Google SafeSearch (vs. the existing option of blocking searches using an app signature)

We now would like to use YouTube for Schools, which depends on URL modification:


  1. A)  Add new HTTP header rule

    Modify your hardware filter or proxy server settings so that all outgoing traffic to youtube.com contains the following custom HTTP header. The ID to use in the HTTP header configuration, written below, is an example of a unique ID for your school’s network only. If your school is blocked at the district level, this HTTP header is then unique to the district network.
    X-YouTube-Edu-Filter:ABCD1234567890abcdefField Name: X-YouTube-Edu-Filter
    Description: When YouTube sees this header and an accompanying valid school ID in the incoming traffic, YouTube will serve a limited EDU-only site to all computers behind the school hardware filter.
    Field Value Format: alphanumeric [a-z][A-Z][0-9]
    Field Value Length: up to 44 characters
  2. B)  Create URL parameter rewrite rule

    If your hardware filter not support HTTP header modification, please rewrite all outgoing URLs to youtube.com by appending the parameter “edufilter” at the end. Exclude the &edufilter parameter from these file types: .css, .gif, .png, .js, .xml


Is/will there be any way to do this in PanOS 4.1?  We are upgrading over the holiday break.


L1 Bithead

I will echo Mr Graves post, I also need this as the redirect to a block page may work but is not a solution for the age range we have.

L1 Bithead

I'm looking for this feature too. I was really hopeful for this in v.5, but it doesn't look like it's there, unless I missed something.

L1 Bithead

I also need this feature; Either a URL rewrite or a way to redirect google, bing and youtube searches to the "safe" versions of these systems through applications or other methods.

I am also in need of URL rewrite to address the YoutubeEDU issue.  Come on guys, at least provide an update to why you are not providing this feature.

L1 Bithead

Also in need of rewrite and encouraged other school districts in my vicinity to Request feature through SE. That was about a year ago...

I am also in need of this for our School District.

I've been asking for this since we purchased our PA-2020.  Is this actually on a road map?  Are there any ballpark ETAs?

This is a large issue for us since Google decided to default to safe search being off, and without naming them, other companies are much quicker to add support for forcing safesearch and youtube for schools (with many already having the feature in the first place!).

Have you tried contacting the appid team and what was their response?


Even if PA doesnt support rewriting then it should still be possible to use appid to handle these safesearches. Specially with PANOS 5.0 who have done some work regarding appid dependencies (that is lets say you have a "google-safesearch" - instead of only looking at the url this appid could first allow a regular visit to google pages but then that the search result must be with safesearch in order to let through - the problem here might be on how to notify the users that they should enable safesearch before they can use the searchengine (since you can only have one blockpage today)).

There is a custom app, but having discussed this with SLT, it's not an option to block default searches until the user manually enables safe search (we have also enquired regarding different block pages!).

Not applicable

Still waiting for URL re-write feature, too.  And I have placed the request with our rep.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!