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.