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!

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

eZ debug

Timing: Jan 18 2025 15:09:35
Script start
Timing: Jan 18 2025 15:09:35
Module start 'layout'
Timing: Jan 18 2025 15:09:35
Module start 'content'
Timing: Jan 18 2025 15:09:36
Module end 'content'
Timing: Jan 18 2025 15:09:36
Script end

Main resources:

Total runtime0.7855 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.9141152.6250
Module start 'layout' 0.00710.0027 740.539139.4453
Module start 'content' 0.00990.7739 779.9844583.7656
Module end 'content' 0.78380.0016 1,363.750016.1719
Script end 0.7854  1,379.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4366160.0002
Check MTime0.00160.2068160.0001
Mysql Total
Database connection0.00140.179810.0014
Mysqli_queries0.726592.4879710.0102
Looping result0.00090.1127690.0000
Template Total0.751595.720.3758
Template load0.00200.250220.0010
Template processing0.749595.425520.3748
Template load and register function0.00010.017310.0001
states
state_id_array0.00110.141910.0011
state_identifier_array0.00130.168920.0007
Override
Cache load0.00180.2230460.0000
Sytem overhead
Fetch class attribute can translate value0.00050.065730.0002
Fetch class attribute name0.00090.117380.0001
XML
Image XML parsing0.00070.090030.0002
class_abstraction
Instantiating content class attribute0.00000.0022100.0000
General
dbfile0.00090.1156160.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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