Problem with rewriterule

Author Message

Fou Jino

Wednesday 16 March 2011 6:39:43 am

Hi everyone,

I have a little problem with my ez publish installation ; the rewrite rule for index.php it's not works :s

Here my virtual host for wamp :

Listen 10000 <VirtualHost *:10000>

<Directory c:/wamp/www/akac>

Options Indexes FollowSymLinks MultiViews

AllowOverride all

Order allow,deny

Allow from all

</Directory>

<IfModule mod_php5.c>

php_admin_flag safe_mode Off

php_admin_value register_globals 0

php_value magic_quotes_gpc 0

php_value magic_quotes_runtime 0

php_value allow_call_time_pass_reference 0

</IfModule>

DirectoryIndex index.php

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteRule content/treemenu/? /index_treemenu.php [L]

RewriteRule ^/var/storage/.* - [L]

RewriteRule ^/var/[^/]+/storage/.* - [L]

RewriteRule ^/var/cache/texttoimage/.* - [L]

RewriteRule ^/var/[^/]+/cache/(texttoimage|public)/.* - [L]

RewriteRule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]

RewriteRule ^/share/icons/.* - [L]

RewriteRule ^/extension/[^/]+/design/[^/]+/(stylesheets|flash|images|lib|javascripts?)/.* - [L]

RewriteRule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]

RewriteRule ^/packages/styles/.+/thumbnail/.* - [L]

RewriteRule ^/favicon\.ico - [L]

RewriteRule ^/robots\.txt - [L]

RewriteRule .* /index.php

</IfModule>

DocumentRoot c:/wamp/www/akac

</VirtualHost>

My ez publish is a standard installation, with 4 different siteacces (include administration)

One of you can tell me what is the problem please ?

Thanks in advance !

Foujino ~ http://www.foujino-blog.be

Damien Pobel

Wednesday 16 March 2011 7:02:51 am

Hi,

Maybe the mod rewrite is not enabled in Apache ? You can try to comment out the line <IfModule mod_rewrite.c> and the corresponding </IfModule> and restart Apache to check this. If there's an error, you have to enabled the mod rewrite

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Ron Haines

Wednesday 16 March 2011 3:38:06 pm

Refer to this post and see if it helps you out.....

http://share.ez.no/forums/install-configuration/work-arrounds-for-using-ez-publish-with-php-cgi

The past is past and cannot be changed, while the future is shaped by action taken in the present.

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 05:04:35
Script start
Timing: Jan 18 2025 05:04:35
Module start 'layout'
Timing: Jan 18 2025 05:04:35
Module start 'content'
Timing: Jan 18 2025 05:04:36
Module end 'content'
Timing: Jan 18 2025 05:04:36
Script end

Main resources:

Total runtime0.8999 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9375152.6250
Module start 'layout' 0.00530.0027 740.562539.4531
Module start 'content' 0.00800.8905 780.0156580.6016
Module end 'content' 0.89850.0013 1,360.617212.1641
Script end 0.8998  1,372.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3728160.0002
Check MTime0.00140.1547160.0001
Mysql Total
Database connection0.00070.079110.0007
Mysqli_queries0.836992.9955600.0139
Looping result0.00060.0671580.0000
Template Total0.872997.020.4364
Template load0.00210.228020.0010
Template processing0.870896.768020.4354
Template load and register function0.00020.019310.0002
states
state_id_array0.00070.074210.0007
state_identifier_array0.00100.106520.0005
Override
Cache load0.00180.2000520.0000
Sytem overhead
Fetch class attribute can translate value0.00080.090530.0003
Fetch class attribute name0.00150.170050.0003
XML
Image XML parsing0.00110.121030.0004
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00090.0947220.0000
String conversion0.00000.000940.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs