Tuesday 18 July 2006 8:32:12 am
Hello,
I have configured the URL rewrite to delete the index.php. in the urls of my site.
RewriteEngine On
Rewriterule ^/var/storage/.* - [L]
RewriteRule ^/aide-creation-entreprise/.* - [L]
Rewriterule ^/var/[^/]+/storage/.* - [L]
RewriteRule ^/var/cache/texttoimage/.* - [L]
RewriteRule ^/var/[^/]+/cache/texttoimage/.* - [L]
Rewriterule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L]
Rewriterule ^/share/icons/.* - [L]
Rewriterule ^/tous_nos_services/les_services_en_ligne/opportunites_d_affaires_partenariats/.*$ - [L]
Rewriterule ^/entrepreneurs_porteurs_de_projets/gerer/nos_conseils/acces_aux_grands_comptes/(.*)php$ - [L]
Rewriterule (.*).(xml|htm|html|XML)$ - [L]
Rewriterule ^/extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L]
Rewriterule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L]
RewriteRule .* /index.php
However, today, I must define a rules as :
RewriteRule (.*)/(.*).html$ /folder1/folder2?l=fr&q=$2 [L]
But this rules doesn't work, because EzPublish seems to need that the REQUEST_URI = /folder1/folder2 for send the good content. I want to have the URL in "folder/rewrite.html" in the URL of my browser and receive the content of /folder1/folder2 (with a QUERY STRING variable) EzPublish its based on the REQUEST_URI, how resolve my problem ? Thanks
Seb
--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)
|