Message-ID: <1516620267.4334.1485866207559.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4333_1221056501.1485866207558" ------=_Part_4333_1221056501.1485866207558 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
These rewrite rules can be used if you don't have direct access =
to alter the virtual host configuration, which is common in a shared hostin=
g setup. The file ".htaccess_root
" is included in the installa=
tion package of your eZ Publish installation. In order to activate these re=
write rules in your hosted environment, you must change the name of the fil=
e to ".htaccess
" and keep in the same folder as the original "=
.htaccess_root
" file.
Please find an example of the ".htaccess
" rewrite rules bel=
ow:
# Copy this file to a new file called .htaccess in your eZ Publish roo= t # to secure your installation by turning on .htaccess based virtual host mo= de. =20 DirectoryIndex index.php =20 RewriteEngine On RewriteRule ^_internal/ - [R=3D403,L] RewriteRule ^api/ index_rest.php [L] RewriteRule ^index_rest\.php - [L] RewriteRule ^([^/]+/)?content/treemenu.* index_treemenu\.php [L] RewriteRule ^var/([^/]+/)?storage/images(-versioned)?/.* - [L] RewriteRule ^var/([^/]+/)?cache/(texttoimage|public)/.* - [L] RewriteRule ^/design/[^/]+/(stylesheets|images|javascript|fonts)/.* - [L] RewriteRule ^share/icons/.* - [L] RewriteRule ^extension/[^/]+/design/[^/]+/(stylesheets|flash|images|lib|jav= ascripts?)/.* - [L] RewriteRule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - = [L] RewriteRule ^packages/styles/.+/thumbnail/.* - [L] RewriteRule ^var/storage/packages/.* - [L] # Assetic rules for eZ Publish 5.1 and higher: RewriteRule ^/css/.*\.css - [L] RewriteRule ^/js/.*\.js - [L] =20 # Makes it possible to placed your favicon at the root of your # eZ Publish instance. It will then be served directly. RewriteRule ^favicon\.ico - [L] # Uncomment the line below if you want you favicon be served from the stand= ard design. # You can customize the path to favicon.ico by replacing design/standard/im= ages/favicon.ico # by the adequate path. #RewriteRule ^favicon\.ico /design/standard/images/favicon\.ico [L] RewriteRule ^design/standard/images/favicon\.ico - [L] =20 # Give direct access to robots.txt for use by crawlers (Google, Bing, Spamm= ers..) RewriteRule ^robots\.txt - [L] =20 # Uncomment the following lines when using popup style debug. # RewriteRule ^var/cache/debug\.html.* - [L] # RewriteRule ^var/[^/]+/cache/debug\.html.* - [L] =20 # Platform for Privacy Preferences Project ( P3P ) related files for Intern= et Explorer # More info here : http://en.wikipedia.org/wiki/P3p RewriteRule ^w3c/p3p\.xml - [L] =20 RewriteRule .* index\.php=20