Name
RewriteBase
Synopsis
RewriteBase
url
Description
[Within <Directory>
or .htaccess]
Sets the base directory for rewrites. This specifies a portion of the URI that will not be modified by any subsequent rewriting, even if the URI maps to a different filesystem. For example:
RewriteBase /files
This directive tells the rewriting engine to ignore the files
directory in the URI when rewriting.
Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.