Share » Forums » General » Displaying static HTML files in...

Displaying static HTML files in eZpublish

Displaying static HTML files in eZpublish

Wednesday 01 June 2005 4:42:30 am - 1 reply

Author Message

kracker (the)

The Doctor

Wednesday 01 June 2005 5:19:28 am

You may always put your static html files in a subdirectory, say example.com/static/

Then add a mod_rewrite in your apache vhost configuration or .htaccess rules to allow access to files inside this subdirectory.

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/static*
RewriteRule !\.(gif|ico|jpe?g|png|css|js)|var(.+)storage.pdf(.+)\.pdf$ index.php

If you must include html content inside of an object (article / product / etc) you may use this contribution.
<i>http://www.ez.no/community/contribs/hacks/embedded_html_for_literal_tag</i>

//kracker

<i>Future of Music Conference : DMCA&u.mp3</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu