mod rewrite and PHP as a CGI

mod rewrite and PHP as a CGI

Thursday 01 January 2004 3:05:08 pm - 3 replies

Modified on Thursday 01 January 2004 3:07:39 pm by Tim Dickinson

Author Message

Yaroslav Markin

Friday 02 January 2004 8:52:40 am

It seems to me this one works

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)$ index.php?/$1
RewriteRule index.php/(.*) index.php?/$1

Tim Dickinson

Friday 02 January 2004 11:06:54 am

Thanks Yaroslav,

Being a bit new to mod rewrites - is it possible to do this with htaccess?

Also, does that work with eZpublish 3.3?
Does the php-cgi fix work with 3.3?

Thanks again,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Yaroslav Markin

Saturday 03 January 2004 2:43:54 am

Yes, php-cgi fix works on 3.3 but if you edit the .php-file "by hands" :).

Yes, this RewriteRules are placed in .htaccess. But anyway I'm sorry they don't work properly -- admin interface, for example. I'm no professional at RewriteRules, unfortunately.

Anyway I'm tired of this so I'm moving to Typo3 :-)

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.