Forums / Install & configuration / Apache Configuration

Apache Configuration

Author Message

Alexis Konstantopoulos

Thursday 15 May 2003 4:58:12 am

Hello
I have some problems with the configuration of apache 2.0.4
I have install the demo version and i can see the demo homepage, but when i click on any link on the page i get :
"Not Found
The requested URL /ezpublish/index.php/demo/content/view/full/114/ was not found on this server."

Does anyone now how to configure apache correctly?
I cant find anything an the manual regarding apache configuration.

I think that many people have the same problem with me.

Thanks

Huib Kleinhout

Thursday 15 May 2003 5:02:47 am

For apache 2 you need to turn AcceptPathInfo on in the configuration file:
http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/typical_problems_and_solutions/ez_publish_3_and_apache_2

Alexis Konstantopoulos

Thursday 15 May 2003 5:11:58 am

the configuration i have is :
VirtualHost 10.218.32.69>
<Directory /var/www/html/ezpublish/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(gif|css|jpg|png)$ /var/www/html/ezpublish/index.php

AcceptPathInfo On

ServerAdmin root@localhost
DocumentRoot /var/www/html/ezpublish/
AcceptPathInfo default
ServerName intranet
</VirtualHost>

Huib Kleinhout

Thursday 15 May 2003 5:57:14 am

I think should put "AcceptPathInfo On" only one time in your virtual host configuration, so remove the second one (AcceptPathInfo default).
Don't forget to restart apache after changing the config file.

Alexis Konstantopoulos

Thursday 15 May 2003 6:15:11 am

I have done it with no result.

I have also downgrade to apache 1.3.27 and i have the same problems (notice that the AcceptPathInfo is supported
for apache 2.0.3 and up)

Karsten Jennissen

Thursday 15 May 2003 6:24:06 am

Do you run PHP as CGI? If so that won't work (only as module). If your PHP memory limit is at 8 oder 10MB, try setting it to 20MB

Karsten

Huib Kleinhout

Thursday 15 May 2003 10:51:00 am

hmmm. You could try to remove everything from between the virtual host tags, except the AcceptPathInfo.
Are you sure you are using 2.0.4? That's a very old and beta release of apache 2. If you are using 2.0.4 you should really upgrade to the current version 2.0.45!

eZ debug

Timing: Jan 18 2025 11:09:54
Script start
Timing: Jan 18 2025 11:09:54
Module start 'content'
Timing: Jan 18 2025 11:09:55
Module end 'content'
Timing: Jan 18 2025 11:09:55
Script end

Main resources:

Total runtime0.7372 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.8281180.8359
Module start 'content' 0.00690.6228 769.6641588.8438
Module end 'content' 0.62980.1074 1,358.5078337.0938
Script end 0.7372  1,695.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5703210.0002
Check MTime0.00150.2002210.0001
Mysql Total
Database connection0.00060.087910.0006
Mysqli_queries0.662089.78912080.0032
Looping result0.00190.26072060.0000
Template Total0.710596.420.3552
Template load0.00200.273520.0010
Template processing0.708496.093420.3542
Template load and register function0.00020.027610.0002
states
state_id_array0.00080.103410.0008
state_identifier_array0.00070.089820.0003
Override
Cache load0.00170.2374460.0000
Sytem overhead
Fetch class attribute can translate value0.00130.179140.0003
Fetch class attribute name0.00120.167680.0002
XML
Image XML parsing0.00100.135340.0002
class_abstraction
Instantiating content class attribute0.00000.0032100.0000
General
dbfile0.00220.2938270.0001
String conversion0.00000.000930.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs