Hello.

Still me with my savane installation issue at 
www.ocea.li.univ-tours.fr/siteDeveocea/savannah/ :p

I got some answers yesterday from yeupou and matteo, pointing some errors in my 
apache conf file.
I followed the indications they gave me but the issue remains.
(I still get a 404 error when trying to display my projects from the main page 
or when i want to manage them)

I'm trying some other changes, but nothing new happens, even if i restart the 
linux server (yes, it's bad, i know but it looks like it's the only way to fix 
some Apache errors sometimes which I can't fix with an apachectl restart or 
apachectl stop / start).

So i'm still in need of some lights.

Here is my new httpd.conf setting for savannah :

Alias /siteDeveocea/savannah/ "/usr/local/savane/www"

#disable .htaccess
<Directory "/usr/local/savane/www">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

#############fichier de config savannah.conf.php est dans 
/etc/savannah#############
#<IfModule mod_env.c>
        SetEnv SV_LOCAL_INC_PREFIX /etc/savannah
#</IfModule>

####################################################################################
########################### Instructions pour apache 2.x 
###########################
############################ Installe : apache V 2.0.40 
############################
####################################################################################

#php tweaks
php_admin_flag register_globals On
php_admin_flag file_uploads On


<Location /siteDeveocea/savannah>
        AllowOverride None
</Location>

#RewriteEngine on
#RewriteRule ^/$ /siteDeveocea/savannah/index.php [R]
#RewriteLog /tmp/rewrite.log
#RewriteRule ^/siteDeveocea/savannah/users(.*) /siteDeveocea/savannah/users?$1
#RewriteRule ^/siteDeveocea/savannah/projects(.*) 
/siteDeveocea/savannah/projects?$1

<Location /siteDeveocea/savannah/users>
        SetHandler application/x-httpd-php
#       SetOutputFilter PHP
#       SetInputFilter PHP
        LimitRequestBody 524288
</Location>

<Location /siteDeveocea/savannah/projects>
        SetHandler application/x-httpd-php
#       SetOutputFilter PHP
#       SetInputFilter PHP
        LimitRequestBody 524288
</Location>


######################################################################################
##                         Fin des instructions pour Savannah                   
    ##
######################################################################################

ErrorDocument 404 /siteDeveocea/savannah/404.php







But I have to point an error in INSTALL.verbose.
Indeed matteo at least pointed that we could not use both SetHandler AND 
SetInput (or Output) filter in the same directive, this being reported in the 
Apache2 manual.

Here is what i can read in the INSTALL.verbose file i got with 
savane-1.0.2.tar.gz:

Note for apache 2.x:
t&#65533;hane Urbanovski noticed that the following is required for apache 2.x

  ErrorDocument 404 /404.php

  # Savannah config file :
  SetEnv SV_LOCAL_INC_PREFIX /etc/savannah

  # php tweaks :
  php_admin_flag register_globals On
  php_admin_flag file_uploads On

  # Disable .htaccess (needed for apache 2.0) :
  <Location /savannah>
    AllowOverride None
  </Location>
  # Simulate apache 1.3 behavior

  RewriteEngine on
  RewriteLog   /tmp/rewrite.log
  RewriteRule ^/savannah/users(.*) /savannah/users?$1
  RewriteRule ^/savannah/projects(.*) /savannah/projects?$1

  <Location /savannah/users>
    SetHandler application/x-httpd-php
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 524288
  </Location>

  <Location /savannah/projects>
    SetHandler application/x-httpd-php
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 524288
  </Location>

You can notice that it's a note for Apache 2.x and that SetHandler and 
SetOutputFilter / SetInputFilter are all in the same directives.


Thanks.


Reply via email to