Forums / Install & configuration / Any Luck with Apache2?

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

eZ debug

Timing: Jan 31 2025 01:26:28
Script start
Timing: Jan 31 2025 01:26:28
Module start 'content'
Timing: Jan 31 2025 01:26:28
Module end 'content'
Timing: Jan 31 2025 01:26:28
Script end

Main resources:

Total runtime0.1687 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.0077 587.9453370.2969
Module start 'content' 0.00770.0116 958.24221,005.5313
Module end 'content' 0.01930.1492 1,963.77343,894.4453
Script end 0.1686  5,858.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00442.6007200.0002
Check MTime0.00150.8632200.0001
Mysql Total
Database connection0.00080.456610.0008
Mysqli_queries0.081048.04721410.0006
Looping result0.00100.59781390.0000
Template Total0.148988.310.1489
Template load0.00090.505210.0009
Template processing0.148087.770010.1480
Override
Cache load0.00060.368810.0006
Sytem overhead
Fetch class attribute can translate value0.00170.986010.0017
XML
Image XML parsing0.00030.155410.0003
General
dbfile0.00613.6401200.0003
String conversion0.00000.003730.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.0001 secs