### Usage ### $ php /path/to/base ### About ### For the WCM to work with Apache Mod Alias, you must add RewriteBase to the .htaccess files. This script attempts to do it automatically. In the above usage example, change '/path/to/base' accordingly. ### Example Modifications ### * /wcm-www-backoffice/install/modrewrite/.htaccess > RewriteEngine on > RewriteBase /path/to/base/wcm-www-backoffice/install/modrewrite/ * /wcm-www-backoffice/system/public/.htaccess > RewriteEngine on > RewriteBase /path/to/base/wcm-www-backoffice/system/public/ * /wcm-www-restws/public/.htaccess > RewriteEngine on > RewriteBase /path/to/base/wcm-www-restws/public/