Forums / Install & configuration / How to set AcceptPathInfo in Apache 2.0.48 for ezpublish 3.3-3

How to set AcceptPathInfo in Apache 2.0.48 for ezpublish 3.3-3

Author Message

Max Wiertz

Tuesday 17 February 2004 5:15:09 am

Hi,

My problem: I'm trying to install ezpublish 3.3-3 only my freshly installed gentoo box. I'm using apache 2.0.48.

During the ezpublish installation it tells me to put 'AcceptpathInfo On' in my httpd.conf or in my .htaccess.

So I tried to put the directive into /etc/apache2/conf/apache2.conf, into /etc/apache2/conf/commonapache2.conf (which should be the same in my opinion?) and into a .htaccess but it didn't work out.
The ezpublish installer keep complaining.

Could anyone please help me solving this?

Thanx in advance, greetz
Max (a desperate ezpublish newbie)

Shane Roberts

Wednesday 18 February 2004 7:22:04 am

Hi Max,

Do you have a firewall running on your gentoo box?

I just set up eZ publish on this computer and had the same problem when I told the firewall "not" to allow access to the internet. As soon as I changed this to "allow", eZ publish set-up worked perfectly.

Hope this is of some help.

Shane (Another very fresh eZ publish newbie)

Max Wiertz

Thursday 19 February 2004 12:23:09 pm

Hi,

AFAIK I don't use a firewall on the gentoo box (I just installed gentoo as described in the docs and the only things I added afterwards are the LAMP stuff and some handy tools like mc etc.).
Further the machine has access to the internet. I can't be accessed from the internet, though. Could that be the problem?

Thanx anyway,
Max

Björn Dieding@xrow.de

Friday 20 February 2004 10:00:33 am

there was a bug in the 3.3.x with apache 2

i don't know if 3.3-3 was affected

check the bug reports

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

ashok ashok

Wednesday 14 April 2004 1:17:55 am

i have download and installed ezpublish-3[2].3-4.zip.I installed it on my local machine. After installing ezpublish had showed two links i.e user site(http://localhost/ezpublish/index.php/corporate) and admin site (http://localhost/ezpublish/index.php/corporate_admin). But When i clicked to these url it shows me "page cannot be displayed".Did i missed something to install or should i have not make changes in some configure file.What should i do to make these links runnable.
I am using
1)Apache 2.0 (installed on c:\apache\)
2)Php4.3.5 (Installed on c:\php\)
3)mysql 4.0.18 (Installed on c:\mysql\)

I have also set the Acceptpathinfo on in my httpd.conf file Here is the code

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
AcceptPathInfo On
</Files>
<Directory "C:/apache/Apache2/manual">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all

    <Files *.html>
        SetHandler type-map
        AcceptPathInfo On
    </Files>

    <Files ~ "\.php$"> 
    AcceptPathInfo On 
    </Files> 
    

    SetEnvIf Request_URI ^/manual/de/ prefer-language=de
    SetEnvIf Request_URI ^/manual/en/ prefer-language=en
    SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
    SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
    SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
    SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
    RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>

But still It links are not working. Please tell me where i have done mistake

Dirk Bensel

Monday 24 May 2004 3:32:02 am

My Solution:

I wrote this in my httpd.conf and everything run fine!!!


<Directory "/path/to/eZPublish">
   <Files ~ "\.php$"> 
   AcceptPathInfo On 
   </Files> 
</Directory>

---
ROCK ON
Dirk