Any Luck with Apache2?

Author Message

Dan Miner

Saturday 07 June 2003 9:34:09 pm

I've been looking around in the forums and I see I'm not the only one with problems getting things working.

I'm using mandrake 9.1 (has a really modularized apache 2.0.44 setup). Unfortunately, the apache 1.3.27 included in the distro is an afterthought (no php for example).

I'm just trying to test and learn the software, so I'm not doing anything fancy.

I've tried added 'AcceptPathInfo On' to the main config file (and stop/start :) with no luck. I'm still getting 404s (but I don't know to actually check the server runtime config to see if it really *saw* it :).

Anyone *find* a 2.0.x that does work at all?

And perhaps I'm asking a touchy question -- but is there is work on ezPublish to not use this *feature*? [I wouldn't have to done it myself :)]

defined feature =
/foo/path/script.php/more/info?var=value

Dan Miner

Saturday 07 June 2003 10:00:45 pm

It is funny how I've been banging my head on this problem for hours now. I'd tried 3.0-1 and 3.0-2 with various *guesses*.

I breakdown and start bug searching on php and apache sites. On apache's site, you see the actual bug and it states it is fixed in 2.0.36.

Well, I'm not conviced it is *completely* fixed; HOWEVER, I did finally get it to start by noticing a stray debug/test comment in the bug report.

I put 'AcceptPathInfo On' in the .htaccess file (non-vhosted setup) and it works! For 3.0-1 and 3.0-2. But it strange how the main config didn't work (and I grep'ed for a possible override somewhere else).

Hopefully, this little note will save someone lots of time. :)

Dan Miner

Sunday 08 June 2003 12:21:10 pm

Well, I spoke too soon I see. After getting some rest, I tried walking thru some basic operations -- such as add a new folder. It blows up and things start getting really confusing.

Using the admin interface and the 'New' drop-down set on Folder, I get an error of.

Error / Kernel (20)

Module not found

* The requested module 'index.php' could not be found.

Then if I click on other links (like Frontpage -- I'm using the demo data from 3.0-2), I get apache 'Not Found' error.

The requested URL /index.php/ezpub/content/view/full/2/ was not found on this server.

As you can see, index.php and ezpub have been *reversed* somehow. If I fix the URL then I get ezPublish's Module Not Found error.

Any clues? Ways to debug this?

Dan Miner

Sunday 08 June 2003 12:42:14 pm

I feel like I'm talking to myself here. :)

Anyway, I found some debug settings in the site.ini. For the above case, here is snipplet of the debug output.

[BTW, I'm getting lots of open translation errors.]

eZ debug
Warning: PHP Jun 08 2003 13:38:23

Undefined variable: wwwDir in /var/www/html/ezpub/lib/ezutils/classes/ezsys.php on line 539

Timing: Jun 08 2003 13:38:23

Script start

Error: index Jun 08 2003 13:38:23

Undefined module: index.php

Error: eZTSTranslator::load Jun 08 2003 13:38:23

Could not load translation file: share/translations/eng-US/translation.ts

Bård Farstad

Sunday 08 June 2003 12:52:39 pm

There are some information about eZ publish and apache 2 here:

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/typical_problems_and_solutions/ez_publish_3_and_apache_2

--bård

Documentation: http://ez.no/doc

Paul Forsyth

Monday 09 June 2003 1:09:44 am

Im using mandrake 9.1 and have so far got ez to work with apache 1.3.27 and apache 2.0.46. i didn't quite intend to use apache 2 with ez but when i upgraded to php 4.3.2 mandrake's weird dependencies installed too much and made it v difficult to go back (too many other rpms were 'upgraded'...).

make sure you install the mod_php rpm ;)

but saying this, 1.3.27 should work out of the box. yip, it is a weird hybrid of apache 1 and 2 but it does work.

are you still having problems?

paul

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 31 2025 04:25:02
Script start
Timing: Jan 31 2025 04:25:02
Module start 'layout'
Timing: Jan 31 2025 04:25:02
Module start 'content'
Timing: Jan 31 2025 04:25:02
Module end 'content'
Timing: Jan 31 2025 04:25:02
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.1328151.2109
Module start 'layout' 0.00540.0028 739.343836.6641
Module start 'content' 0.00820.0048 776.007894.1563
Module end 'content' 0.01290.0015 870.164137.9922
Script end 0.0144  908.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.5074140.0002
Check MTime0.00107.2632140.0001
Mysql Total
Database connection0.00074.805310.0007
Mysqli_queries0.002517.392230.0008
Looping result0.00000.158510.0000
Template Total0.00117.810.0011
Template load0.00095.904710.0009
Template processing0.00031.827410.0003
Override
Cache load0.00063.842910.0006
General
dbfile0.00032.312780.0000
String conversion0.00000.069340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs