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.

eZ debug

Timing: Jan 31 2025 04:29:43
Script start
Timing: Jan 31 2025 04:29:43
Module start 'layout'
Timing: Jan 31 2025 04:29:43
Module start 'content'
Timing: Jan 31 2025 04:29:43
Module end 'content'
Timing: Jan 31 2025 04:29:43
Script end

Main resources:

Total runtime0.0122 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.3828151.2422
Module start 'layout' 0.00520.0022 739.625036.7266
Module start 'content' 0.00740.0038 776.351690.2188
Module end 'content' 0.01110.0010 866.570333.9922
Script end 0.0122  900.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.2723140.0002
Check MTime0.00108.5178140.0001
Mysql Total
Database connection0.00086.923810.0008
Mysqli_queries0.002319.148030.0008
Looping result0.00000.074310.0000
Template Total0.00086.510.0008
Template load0.00065.144010.0006
Template processing0.00021.304610.0002
Override
Cache load0.00043.657510.0004
General
dbfile0.00032.296280.0000
String conversion0.00000.041140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs