how to make "AcceptPathInfo On " work in apache 1.3.27

Author Message

kevin wei

Friday 22 October 2004 7:26:09 am

i add this line in my http.conf, but apache sayed it is error.

any help, thanks!

Hans Melis

Friday 22 October 2004 7:56:52 am

Hi,

AcceptPathInfo is a directive for Apache2. You can't use it, and don't need it when using Apache 1.3.x

As a sidenote, I've even managed to get Apache2 serving eZ publish without "AcceptPathInfo On" so it might be deprecated for eZp.

Hans
http://blog.hansmelis.be

Mark Jones

Friday 22 October 2004 12:14:43 pm

Hans,

Please let me know how you got eZPublish to work with Apache2 because I cannot get it to work no matter how I put "AcceptPathInfo On" in the httpd.conf file. I always get the message: "No input file specified"

I can find no adequate explanation of this on the website for new users but it seems on the forum that quite a few people are having problems with this. Perhaps there is an easy answer somewhere that I have not found yet?

Thank you.
Mark

Mark Jones

Friday 22 October 2004 12:38:14 pm

I was able to fix this problem as Apache was not configured to load PHP 4.3.9 as a module.

To enable this I added the following to my httpd.conf file:

LoadModule php4_module "c:\php\php4apache2.dll"

and copyied the file "php4apache2.dll" from the "c:\php\sapi" folder ot the "c:\php" folder. (See http://uk.php.net/manual/en/install.windows.manual.php )

Hope that assists anyone else with this problem.
Mark

kevin wei

Saturday 23 October 2004 10:45:56 pm

i use winxp+apache1.3.27+mysql3.23.51+php.4.37 for a long time, and this works for any EZ version, but after i reinstall my laptop, i get this system check warning:

2. AcceptPathInfo disabled or running in CGI mode
You need enable AcceptPathInfo in your Apache config file, if you're using apache 2.x eZ publish will not run in CGI mode, if you're running apache 1.3. 

Check the Apache documentation, or enter the following into your httpd.conf file. 

this means with apache 1.3, eZ publish will not run in CGI mode. EZ or PHP in CGI mode?
but i had run it before, even i use old version ez which worked before, but now also give this warning.
a shared host with PHP in CGI mode, works well,why?

and i find in shared host, when i input http://myserver/ then install it, and after click next, ez will use http://myserver/index.php?
but in my laptop, ez always give http://myserver/index.php, even i add a ? after it, ez will change back in next step, so admin site url: http://myserver/index.php/site_admin, this will not work. why in shared host it will give http://myserver/index.php?/site_admin.
how can i control this.

thanks!

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