EZ P intercepts all traffic to site

Author Message

Halvor M

Sunday 13 March 2005 9:35:14 am

Hiya,

My EZ site intercepts all request to my web area, even if I enter subfolders in directories outside the EZ sitefolder.

In other words, if I enter something like www.website.com/files/ I end up in my EZ site, telling me this area could not be found.

How do I turn "off" EZ in relation to other folders/areas ?

Halvor

Gabriel Ambuehl

Sunday 13 March 2005 10:13:08 am

You have to change the mod_rewrite statements to exclude those areas.

Visit http://triligon.org

Halvor M

Sunday 13 March 2005 11:03:35 am

Hmm, ok thanks.

But where would I find those rewrites? (in which file?) Would altering them affect my site in undesirable ways ?

Gabriel Ambuehl

Sunday 13 March 2005 11:08:29 am

Read about virtual host configuration in the docs. Generally, mod_rewrite is configured in apache.conf.

Visit http://triligon.org

Halvor M

Sunday 13 March 2005 11:42:10 am

k, basically what I ended up doing was to add two lines to my httpd conf file.

The first one makes an exception in the rewrite, like this:

  RewriteCond %{REQUEST_URI}      !^/FOLDER_NAME.* 


where FOLDER_NAME is the folder you want excepted.

The second line would be the alias rule, for diverting the request to the appropriate location, where any old: alias requested_folder new_path
would do the trick.

Thanks for pointing me in the right direction. For making more advanced rewrites, which I found I require for parts of my site:
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

cheers!

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 19 2025 18:43:58
Script start
Timing: Jan 19 2025 18:43:58
Module start 'layout'
Timing: Jan 19 2025 18:43:58
Module start 'content'
Timing: Jan 19 2025 18:43:58
Module end 'content'
Timing: Jan 19 2025 18:43:58
Script end

Main resources:

Total runtime0.7148 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.2734152.6406
Module start 'layout' 0.00510.0027 741.914139.4609
Module start 'content' 0.00780.7056 781.3750516.3984
Module end 'content' 0.71340.0014 1,297.773412.1563
Script end 0.7148  1,309.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4004160.0002
Check MTime0.00120.1623160.0001
Mysql Total
Database connection0.00090.121010.0009
Mysqli_queries0.669493.6513630.0106
Looping result0.00050.0714610.0000
Template Total0.685295.920.3426
Template load0.00170.244020.0009
Template processing0.683595.620420.3417
Template load and register function0.00010.017910.0001
states
state_id_array0.00120.164510.0012
state_identifier_array0.00060.090820.0003
Override
Cache load0.00140.1944260.0001
Sytem overhead
Fetch class attribute can translate value0.00120.162320.0006
Fetch class attribute name0.00110.157350.0002
XML
Image XML parsing0.00020.030520.0001
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00180.2466100.0002
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs