Forums / Install & configuration / ReWriteRule doesn't work as expected.

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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?