ReWriteRule doesn't work as expected.

Author Message

Red Bullbone

Thursday 17 July 2003 5:47:47 am

I lost days with trying, reading and... failing... I've put the rewrite rule in my httpd.conf file:

RewriteEngine On
RewriteRule !\.(gif|css|jpg|png|js)$ /index.php

and changed the |ezurl 's to ezroot and tried to work with the admin-interface. when accessing an url like http://localhost/shop/orderlist/ I keep on retrieving the following error message: 'The requested module 'orderlist' could not be found.'

does someone know what I'm missing?
any help would be appreciated
red

Jan Borsodi

Thursday 17 July 2003 6:10:44 am

Try accessing the page with
http://localhost/admin/shop/orderlist/
or
http://localhost/index.php/admin/shop/orderlist/
or
http://localhost/index.php/shop/orderlist/

If one of those with admin in it works then it means that you have the url based siteaccess setting on. ie. you would use localhost/user to get user siteaccess and localhost/admin to get admin siteaccess.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Red Bullbone

Thursday 17 July 2003 7:07:08 am

thank you! found it. had to configure the following

MatchOrder=host
HostMatchType=element
HostMatchElement=0

and changing the domain-name to http://admin.my.domain/

well, next problem please... ;)

kevin wei

Friday 21 November 2003 11:46:35 pm

where did u do this change?

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

Main resources:

Total runtime0.8535 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.0391152.6406
Module start 'layout' 0.00760.0028 740.679739.4766
Module start 'content' 0.01040.8412 780.1563575.2891
Module end 'content' 0.85160.0019 1,355.445312.1406
Script end 0.8535  1,367.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4302160.0002
Check MTime0.00130.1568160.0001
Mysql Total
Database connection0.00140.169310.0014
Mysqli_queries0.799293.6368620.0129
Looping result0.00060.0730600.0000
Template Total0.815995.620.4079
Template load0.00210.244820.0010
Template processing0.813895.341320.4069
Template load and register function0.00020.020810.0002
states
state_id_array0.00180.207210.0018
state_identifier_array0.00260.309220.0013
Override
Cache load0.00190.2169280.0001
Sytem overhead
Fetch class attribute can translate value0.00120.138030.0004
Fetch class attribute name0.00200.235150.0004
XML
Image XML parsing0.00110.125430.0004
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00110.1275170.0001
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs