Forums / Install & configuration / Does EZ Publish require Mod_Rewrite?

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

eZ debug

Timing: Jan 30 2025 21:35:14
Script start
Timing: Jan 30 2025 21:35:14
Module start 'content'
Timing: Jan 30 2025 21:35:14
Module end 'content'
Timing: Jan 30 2025 21:35:14
Script end

Main resources:

Total runtime0.3058 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.0547370.2813
Module start 'content' 0.00800.0168 958.33591,005.5781
Module end 'content' 0.02480.2809 1,963.91413,893.7422
Script end 0.3057  5,857.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00521.6986200.0003
Check MTime0.00150.4810200.0001
Mysql Total
Database connection0.00070.231210.0007
Mysqli_queries0.201966.04321410.0014
Looping result0.00170.56221390.0000
Template Total0.280491.710.2804
Template load0.00090.303810.0009
Template processing0.279591.400310.2795
Override
Cache load0.00060.208710.0006
Sytem overhead
Fetch class attribute can translate value0.00160.529810.0016
XML
Image XML parsing0.00030.087610.0003
General
dbfile0.00732.3956200.0004
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs