Access Files On Server That Aren't Part Of eZ Publish

Author Message

Patrick O'Connor

Thursday 13 November 2008 11:04:26 am

First a warning, I'm new to eZ Publish and am just figuring things out. I've been reading the manuals and forums and can't seem to find the answer to my question which maybe I'm just phrasing wrong.

I need to have content live side by side with eZ Publish content that isn't stored or controlled by eZ Publish.

e.g.
http://website.com/FileNotInEZ.html
http://website.com/FileInsideEZ.html

The problem I run into is that when I try to access the file that isn't generated or handled by a template, it just opens the main pagelayout.tpl template.

Thanks

Kristof Coomans

Thursday 13 November 2008 1:11:03 pm

Hi Patrick

Welcome to the eZ Community!

You need to modify the Apache rewrite rules, either in your virtual host configuration, or in the .htaccess file, to allow direct access to the file.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Patrick O'Connor

Friday 21 November 2008 2:56:28 pm

Thanks for the welcoming note.

Do you have an example of what I would put inside my virtual host configuration? what would I do in the case of a .htaccess?

Thanks

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.