links don't work

Author Message

Narco Sarnix

Friday 23 May 2003 1:03:56 am

Hi,

i have trouble getting started with ezpublish3. The installation went fine, yet when i want to log in i get a 404 document.
During the installation it said i hadn't set up a virtual host, what maybe could be the problem, because i had setup a virtual host in the httpd.conf and created an ip alias for it on the system.
anyone have an idea?

Karsten Jennissen

Friday 23 May 2003 1:44:38 am

This sounds like your running PHP as CGI. eZ publish doesn't work with PHP as CGI, but i think there have been efforts to create patches to get it to work. Don't remember where the threads were, but you could do a search for CGI on the forum.

Narco Sarnix

Friday 23 May 2003 6:11:55 am

thanks. i read the thread and the errors are simular, yet I don't have PHP running as CGI.

Karsten Jennissen

Friday 23 May 2003 10:50:41 am

Just to be on the safe side. Is your PHP memory limit set to more than 8MB (16MB, better 24MB)? That can cause 404s as well, I think.

jim caprioli

Friday 23 May 2003 2:33:02 pm

Hi Narco,

Are you on Apache 2.0.45 perhaps? You have to know that companies like eZ systems will never say: Apache 2 is not supported, instead they use the euphemism "not tested very well". I'll bet it'll work with 1.3.27.

I have been there too, and I found the solution... >>here<< on this forum. If you are on 1.3.27 OR if you somehow manage to get it to work with 2.0.45 please report here so that we can all learn from your experience.

RegardZ,
Jim Caprioli

Narco Sarnix

Saturday 24 May 2003 2:45:21 am

thanks for the comments. :)

after reading the thread about PHP as CGI I raised the memory limit to 16M, which didn't make a difference. Tried the open_base_dir option too, with the same result.

Ah, that could be the problem. I run Apache 2.0.44.
Is it possible to run both versions of Apache on 1 system? say Apache 1.* listening to port 81 orso.

Gerry Quach

Saturday 24 May 2003 9:30:08 am

I've finally found a fix for the 404 errors, via an old post on this forum :)

http://ez.no/developer/ez_publish_3/forum/install_configuration/note_apache_2043_and_path_info__1

I've also added a link to this fix to the user contributed documentation page.

jim caprioli

Sunday 25 May 2003 2:44:23 am

yes it's possible to run several apache's on one machine. i am not sure how to set this up when you run apache as an NT server though. I don't even run the windows installer. I use the apache distributions from the miniserver project on sourceforge. they have a mysql, php, apache distribution that's only 2MB! No PEAR and such of course, but it delivers what the average hosting company does.

jim caprioli

Sunday 25 May 2003 2:51:28 am

Just to make this clear...

Can Gary 100% *confirm* that he has ezPublish working on Windows XP with Apache 2.0.45 without any problems? ( In my case I still have to start 1.3.27. ) It is very well possible that I did something wrong when I set up Apache 2 last year.

Would you be so kind to either publish your httpd.conf and php.ini? Or pm these to me? jim.cp@nilostep.com? One .conf or .ini says more than a thousands forum messages.

I could learn something from this. Thanks.

Narco Sarnix

Sunday 25 May 2003 7:57:42 am

excellent, Patrick.
thanks for the URL's.

i got it working now. I can't confirm this solution for windows xp by experience, because i run freebsd 4-stable, php 4.3.1 and apache 2.0.44 at the moment.
the URL's Patrick gave are pretty interesting, so you might want to read them.
this is what i added to httpd.conf:
<Directory /<httpd-root>/ezpublish-x.x.x>
AcceptPathInfo On
</Directory>

jim caprioli

Sunday 25 May 2003 3:39:12 pm

Yes Patrick thanks for keeping this out of the thread, i thought this was open source, learning from each other's experience?

Last time I added something here.

Narco Sarnix

Monday 26 May 2003 12:27:06 am

Jim, maybe Patrick didn't read this thread. His name comes from the other thread. The usage of his name by me is a bit confusing i guess. sorry for that.

Karsten Jennissen

Monday 26 May 2003 12:50:00 am

Geeze, people getting p.... because others are not standing at their toes to help them out anytime they wish. Yes, this is open source, so everyone does things in their spare time and answers, help or co-operation are NOT guaranteed.

Gerry Quach

Monday 26 May 2003 6:32:13 pm

jim, who the heck is Gary? I assume you're referring to me :)

If you read the thread I posted earlier, it says I'm running Apache 2.0.45 on Mac OS X, not Windows XP. Anyway, my 404 error problems weren't due to PHP4's memory_limit or anything like that, but due to the PATHINFO problem. Read that thread by Atle to find out how to fix it (the fix is extremely simple, just add that one line to your httpd.conf), but then again I can't be sure that PATHINFO is the cause of your problems.

thomas zee

Thursday 29 May 2003 5:50:43 am

Ok my dedicated server is running apache is not running apache 2, and i'm still having problems. All the links on the demo page work, but when try to go to /user/login i get a 404 i tried putting the "AcceptPathInfo ON" directive in my my apache.conf but I just got when i restarted apache an error that it must be spelled wrong, or it not supppose to be there. I know it's spelled right..what could it be. I also added it to my .htaccess to to see if that was it and nothing...help

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