Does EZ Publish require Mod_Rewrite?

Author Message

Justin Pease

Wednesday 16 April 2003 9:41:51 am

I noticed that EZP3 uses URIs such as:

http://webserver/ezpublish-3.0-1/index.php/demo/content/view/full/26/

Does that require the installation of mod_rewrite?

My install went fine. I can pull up the index.php - but none of the links work, thus my question.

Thanks!

++JP

Jan Borsodi

Wednesday 16 April 2003 12:20:36 pm

mod_rewrite is optional, you can use eZ publish in non-virtual host mode however it is considered much less secure.

Do you have the same problem as this thread?
http://ez.no/developer/ez_publish_3/forum/install_configuration/uri_not_parsing_

--
Amos

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

Bill Christian

Thursday 17 April 2003 10:21:05 am

I have a very similar problem, but the linked forum posting does not address my issue. I am running Apache 2.0, MySQL 4.0.1. And, I have not enabled mod_rewrite but I am tempted to do so.

Any suggestions are appreciated.

Bill Christian

Thursday 17 April 2003 9:02:58 pm

Bingo!

I was able to correct this situation by changing my httpd.conf to include the AcceptPathInfo and setting it to "On". Example:

<Directory "/var/www/html/ez3">
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
AcceptPathInfo On
</Directory>

Based on my reading of Apache 2.0 documentation, if you do not have access to httpd.conf but are allowed to override settings (the AllowOverride directive is set to all or includes AcceptPathInfo), then you can adjust your .htaccess is the document root folder. In my case that would be in /var/www/html/ez3/.htaccess.

Check these links for Apache 2.0 help:
http://httpd.apache.org/docs-2.0/howto/htaccess.html
http://httpd.apache.org/docs-2.0/mod/core.html

Hope this helps!
billc

Justin Pease

Wednesday 23 April 2003 10:58:15 am

I am running Apache 2, PHP 4.3.1 and Mysql 3

I tried the AccepthPathInfo fix, but it doesn't fix my problem. The only thing that comes up after install is the index.php

Any index.php/foo uri does not work. I do not have mod_rewrite installed.

Any other suggestions?

Thanks!

Jim Porter

Monday 12 May 2003 3:19:38 am

Had a similar problem with

EZpublish 3.0.2
PHP 4.32
Apache 2.0.45
Windows XP Pro

Firstly EZpublish will only work with Apache running PHP as a SAPI module (picked up from other posts).

Too cut a long story short, no matter what I did I could not get Apache to load php4apache2.dll even after following lots of advice. Apparently there are still many problems with compatibility with Apache and PHP on these versions and in fact PHP.org do not claim support for Apache 2.

Finally gave up and went to Apache 1.3.37 which solved the problem you are having.

Still got other problems though.

Regards
Jim

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