Vhost and rewrite configuration, help!

Author Message

Tore Skobba

Wednesday 21 January 2004 5:26:52 am

Hi all

I have a problem with my EZ site and phpBB forum configuration, what happens is that once I go to the forum EZ complains that it can't find the module (note that the forum is not at all integrated with EZ). Therefore I belive I must make a rewritte rule that says that apache should ignore EZ's index.php when forum is accessed. But I have not managed it, anyone here who has any tips?

Currently my setup is as this:

ezfolder/
ezfolder/forum/

(Where ezfolder is the root folder to the site) and forum holds the phpBB.

In my Vhost I have this rewrite rule:
RewriteEngine ON

RewriteRule !\.(gif|css|jpg|png|jar|js|html $ /www/gs_hp/index.php

I have tried to add in order for forum not to be redirected to gs_hp/index.php but I have not managed it.

Cheers
Tore

Tony Wood

Wednesday 21 January 2004 5:40:52 am

Hi Tore,

Try these links, they should help.

http://ez.no/developer/ez_publish_3/documentation/configuration/configuration/tips_tricks/exclude_uris_from_rewrite
and http://ez.no/developer/ez_publish_3/forum/install_configuration/exclude_certain_uris_from_rewrite_rule

-- tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Tore Skobba

Wednesday 21 January 2004 6:27:38 am

Thank you very much.. You saved me several hours reading docs:)

cheers
Tore

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

Main resources:

Total runtime0.7096 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 589.3594152.6250
Module start 'layout' 0.00840.0037 741.984439.4609
Module start 'content' 0.01210.6960 781.4453539.0859
Module end 'content' 0.70810.0015 1,320.531312.1563
Script end 0.7095  1,332.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4864160.0002
Check MTime0.00140.1919160.0001
Mysql Total
Database connection0.00160.219310.0016
Mysqli_queries0.657092.5923570.0115
Looping result0.00050.0759550.0000
Template Total0.677895.520.3389
Template load0.00230.327220.0012
Template processing0.675495.188920.3377
Template load and register function0.00020.032410.0002
states
state_id_array0.00070.098810.0007
state_identifier_array0.00110.151420.0005
Override
Cache load0.00190.2689270.0001
Sytem overhead
Fetch class attribute can translate value0.00100.144020.0005
Fetch class attribute name0.00130.177140.0003
XML
Image XML parsing0.00060.089220.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00080.1072160.0000
String conversion0.00000.001440.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
3content/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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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