Forum Discussion
hooleylist
Nov 09, 2010Cirrostratus
As George suggests, LTM VE would be a great way to test this.
Do you want the user to see the change to the file type? If so, then a redirect would work fine. If you want the change to be transparent to the user, you could change the redirect to a rewrite:
when HTTP_REQUEST {
if { [HTTP::path] ends_with ".php" } {
HTTP::uri [string map -nocase {".php" ".html"} [HTTP::path]]
}
}
Aaron