[OGo-Users-FR] Probleme de parametrage Apache 1.3 [ ngobjweb] [Mandrake 10.1]
Pascal Aubry
users-fr@opengroupware.org
Tue, 30 Aug 2005 14:34:13 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C5AD6F.E4432D30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Bonjour,
Je suis en train d'installer OGo sur Mandrake 10.1
je rencontre le pb suivant lors du redemarrage du deamon Apache (1.3)
___________________________________________________________________
[root@dubus-133 sope-mod_ngobjweb]# /etc/init.d/httpd restart
Starting httpd: Syntax error on line 72 of /etc/httpd/conf/httpd.conf:
Invalid command 'Sethandler', perhaps mis-spelled or defined by a module not
included in the server configuration
[ECHEC ]
____________________________________________________________________________
j'ai pourtant suivi la documentation relative à la configuration d'apache :
____________________________________________________________________________
[root@dubus-133 root]# tar xvf sope-mod_ngobjweb-trunk-latest.tar
[root@dubus-133 root]# cd sope-mod_ngobjweb
[root@dubus-133 sope-mod_ngobjweb]# vi GNUmake
[root@dubus-133 sope-mod_ngobjweb]# make
puis copie de mod_ngobjweb.so dans /usr/lib/opengroupware.org/WebServer/
[root@dubus-133 sope-mod_ngobjweb]# cp ngobjweb*
/usr/lib/opengroupware.org/WebServer/
____________________________________________________________________________
je ne sais pas si quelqu'un a déjà installé OGo sur Mdk 10.1 ici mais si
vous avez une idée, je prends !
ci join une copie du httpd.conf
Bonne aprem à tous
pascal
------=_NextPart_000_0020_01C5AD6F.E4432D30
Content-Type: application/octet-stream;
name="httpd.conf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="httpd.conf"
### Main Configuration Section=0A=
### You really shouldn't change these settings unless you're a guru=0A=
###=0A=
ServerType standalone=0A=
ServerRoot /etc/httpd=0A=
#ServerName localhost=0A=
#LockFile /etc/httpd/httpd.lock=0A=
PidFile /var/run/httpd.pid=0A=
ScoreBoardFile /etc/httpd/httpd.scoreboard=0A=
ErrorLog logs/error_log=0A=
LogLevel warn=0A=
ResourceConfig /dev/null=0A=
AccessConfig /dev/null=0A=
DocumentRoot /var/www/html=0A=
=0A=
=0A=
### Dynamic Shared Object (DSO) Support=0A=
### =0A=
###=0A=
#Cargement du module ngobjweb pour Opengroupware=0A=
LoadModule ngobjweb_module =
/usr/lib/opengroupware.org/WebServer/mod_ngobjweb.so=0A=
#LoadModule mmap_static_module modules/mod_mmap_static.so=0A=
LoadModule env_module modules/mod_env.so=0A=
LoadModule config_log_module modules/mod_log_config.so=0A=
LoadModule agent_log_module modules/mod_log_agent.so=0A=
LoadModule referer_log_module modules/mod_log_referer.so=0A=
#LoadModule mime_magic_module modules/mod_mime_magic.so=0A=
LoadModule mime_module modules/mod_mime.so=0A=
LoadModule negotiation_module modules/mod_negotiation.so=0A=
LoadModule status_module modules/mod_status.so=0A=
LoadModule info_module modules/mod_info.so=0A=
LoadModule includes_module modules/mod_include.so=0A=
LoadModule autoindex_module modules/mod_autoindex.so=0A=
LoadModule dir_module modules/mod_dir.so=0A=
LoadModule cgi_module modules/mod_cgi.so=0A=
LoadModule asis_module modules/mod_asis.so=0A=
LoadModule imap_module modules/mod_imap.so=0A=
LoadModule action_module modules/mod_actions.so=0A=
#LoadModule speling_module modules/mod_speling.so=0A=
LoadModule userdir_module modules/mod_userdir.so=0A=
LoadModule proxy_module modules/libproxy.so=0A=
LoadModule alias_module modules/mod_alias.so=0A=
LoadModule rewrite_module modules/mod_rewrite.so=0A=
LoadModule access_module modules/mod_access.so=0A=
LoadModule auth_module modules/mod_auth.so=0A=
LoadModule anon_auth_module modules/mod_auth_anon.so=0A=
#LoadModule dbm_auth_module modules/mod_auth_dbm.so=0A=
#LoadModule db_auth_module modules/mod_auth_db.so=0A=
LoadModule digest_module modules/mod_digest.so=0A=
#LoadModule cern_meta_module modules/mod_cern_meta.so=0A=
LoadModule expires_module modules/mod_expires.so=0A=
LoadModule headers_module modules/mod_headers.so=0A=
LoadModule usertrack_module modules/mod_usertrack.so=0A=
#LoadModule example_module modules/mod_example.so=0A=
#LoadModule log_forensic_module modules/mod_log_forensic.so=0A=
#LoadModule unique_id_module modules/mod_unique_id.so=0A=
LoadModule setenvif_module modules/mod_setenvif.so=0A=
<IfDefine HAVE_PHP4>=0A=
LoadModule php4_module extramodules/libphp4.so=0A=
</IfDefine>=0A=
LoadModule vhost_alias_module modules/mod_vhost_alias.so=0A=
=0A=
# Reconstruction of the complete module list from all available modules=0A=
# (static and shared ones) to achieve correct module execution order.=0A=
# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]=0A=
ClearModuleList=0A=
#AddModule mod_mmap_static.c=0A=
=0A=
Addmodule ngobjweb_module.c=0A=
=0A=
<LocationMatch "^/OpenGroupware*">=0A=
SetHandler ngobjweb-adaptor=0A=
SetAppPort 20000=0A=
</LocationMatch>=0A=
=0A=
Alias /OpenGroupware10a.woa/WebServerResources/ =
/usr/local/share/opengroupware.org-1.0a/www/=0A=
=0A=
#<Directory /usr/local/share/opengroupware.org-1.0a/www>=0A=
#Order allow,deny=0A=
#Allow from all=0A=
#</Directory>=0A=
=0A=
AddModule mod_env.c=0A=
AddModule mod_log_config.c=0A=
AddModule mod_log_agent.c=0A=
AddModule mod_log_referer.c=0A=
#AddModule mod_mime_magic.c=0A=
AddModule mod_mime.c=0A=
AddModule mod_negotiation.c=0A=
AddModule mod_status.c=0A=
AddModule mod_info.c=0A=
AddModule mod_include.c=0A=
AddModule mod_autoindex.c=0A=
AddModule mod_dir.c=0A=
AddModule mod_cgi.c=0A=
AddModule mod_asis.c=0A=
AddModule mod_imap.c=0A=
AddModule mod_actions.c=0A=
#AddModule mod_speling.c=0A=
AddModule mod_userdir.c=0A=
AddModule mod_proxy.c=0A=
AddModule mod_alias.c=0A=
AddModule mod_rewrite.c=0A=
AddModule mod_access.c=0A=
AddModule mod_auth.c=0A=
AddModule mod_auth_anon.c=0A=
#AddModule mod_auth_dbm.c=0A=
#AddModule mod_auth_db.c=0A=
AddModule mod_digest.c=0A=
#AddModule mod_cern_meta.c=0A=
AddModule mod_expires.c=0A=
AddModule mod_headers.c=0A=
AddModule mod_usertrack.c=0A=
#AddModule mod_example.c=0A=
#AddModule mod_log_forensic.c=0A=
#AddModule mod_unique_id.c=0A=
AddModule mod_so.c=0A=
AddModule mod_setenvif.c=0A=
<IfDefine HAVE_PHP4>=0A=
AddModule mod_php4.c=0A=
</IfDefine>=0A=
AddModule mod_vhost_alias.c=0A=
=0A=
###=0A=
### Global Configuration=0A=
###=0A=
# We now support multiple apache configurations on the same server. In =0A=
# common.conf, we put all directives that are common to all =
implementations=0A=
# (httpd, httpd-perl, etc.)=0A=
Include conf/commonhttpd.conf=0A=
=0A=
=0A=
###=0A=
### IP Address/Port and Proxied configuration section=0A=
###=0A=
# The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you=0A=
# are using a proxy or accelerator, like the Apache-SGI or khttpd, so =
that=0A=
# the fast web server serves static content while Apache handles the =0A=
# cgi or php files=0A=
=0A=
#BindAddress *=0A=
<IfDefine APACHEPROXIED>=0A=
Port 8080=0A=
Listen 8080=0A=
</IfDefine>=0A=
<IfDefine !APACHEPROXIED>=0A=
Port 80=0A=
Listen 80=0A=
</IfDefine>=0A=
=0A=
# Likewise, we can set apache as the server by default and send perl=0A=
# requests via ProxyPass to apache-mod_perl. It increases performance=0A=
# since the perl interpreter is only used for perl and the standard =
apache=0A=
# does all the html and image files, with a smaller footprint.=0A=
#=0A=
# If you install apache and apache-mod_perl, this is the default config.=0A=
# If you don't want two web servers to use perl, uninstall apache, and=0A=
# apache-mod_perl will not be proxied.=0A=
=0A=
<IfDefine PERLPROXIED>=0A=
RewriteEngine on=0A=
RewriteRule ^proxy:.* - [F]=0A=
RewriteRule ^(.*\/perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P]=0A=
RewriteRule ^(.*\/cgi-perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P]=0A=
</IfDefine>=0A=
=0A=
###=0A=
### Log configuration Section=0A=
###=0A=
=0A=
#Single logfile with access, agent and referer information=0A=
#This is the default, if vlogs are not defined for the main server=0A=
CustomLog logs/access_log combined env=3D!VLOG=0A=
#If VLOG is defined in conf/vhosts/Vhost.conf, we use this entry=0A=
CustomLog "|/usr/sbin/advxsplitlogfile" vhost env=3DVLOG=0A=
=0A=
=0A=
###=0A=
### Virtual Hosts =0A=
###=0A=
# We include different templates for Virtual Hosting. Have a look in the =0A=
# vhosts directory and modify to suit your needs.=0A=
Include conf/vhosts/Vhosts.conf=0A=
#Include conf/vhosts/DynamicVhosts.conf=0A=
#Include conf/vhosts/VirtualHomePages.conf=0A=
=0A=
=0A=
###=0A=
### Performance settings Section=0A=
###=0A=
#=0A=
# Timeout: The number of seconds before receives and sends time out.=0A=
#=0A=
Timeout 300=0A=
=0A=
#=0A=
# KeepAlive: Whether or not to allow persistent connections (more than=0A=
# one request per connection). Set to "Off" to deactivate.=0A=
#=0A=
KeepAlive On=0A=
=0A=
#=0A=
# MaxKeepAliveRequests: The maximum number of requests to allow=0A=
# during a persistent connection. Set to 0 to allow an unlimited amount.=0A=
# We recommend you leave this number high, for maximum performance.=0A=
#=0A=
MaxKeepAliveRequests 100=0A=
=0A=
#=0A=
# KeepAliveTimeout: Number of seconds to wait for the next request from =
the=0A=
# same client on the same connection.=0A=
#=0A=
KeepAliveTimeout 15=0A=
=0A=
#=0A=
# Server-pool size regulation. Rather than making you guess how many=0A=
# server processes you need, Apache dynamically adapts to the load it=0A=
# sees --- that is, it tries to maintain enough server processes to=0A=
# handle the current load, plus a few spare servers to handle transient=0A=
# load spikes (e.g., multiple simultaneous requests from a single=0A=
# Netscape browser).=0A=
#=0A=
# It does this by periodically checking how many servers are waiting=0A=
# for a request. If there are fewer than MinSpareServers, it creates=0A=
# a new spare. If there are more than MaxSpareServers, some of the=0A=
# spares die off. The default values are probably OK for most sites.=0A=
#=0A=
MinSpareServers 4=0A=
MaxSpareServers 10=0A=
=0A=
#=0A=
# Number of servers to start initially --- should be a reasonable =
ballpark=0A=
# figure.=0A=
#=0A=
StartServers 4=0A=
=0A=
#=0A=
# Limit on total number of servers running, i.e., limit on the number=0A=
# of clients who can simultaneously connect --- if this limit is ever=0A=
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.=0A=
# It is intended mainly as a brake to keep a runaway server from taking=0A=
# the system with it as it spirals down...=0A=
#=0A=
MaxClients 150=0A=
=0A=
#=0A=
# MaxRequestsPerChild: the number of requests each child process is=0A=
# allowed to process before the child dies. The child will exit so=0A=
# as to avoid problems after prolonged use when Apache (and maybe the=0A=
# libraries it uses) leak memory or other resources. On most systems, =
this=0A=
# isn't really needed, but a few (such as Solaris) do have notable leaks=0A=
# in the libraries. For these platforms, set to something like 10000=0A=
# or so; a setting of 0 means unlimited.=0A=
#=0A=
# NOTE: This value does not include keepalive requests after the initial=0A=
# request per connection. For example, if a child process handles=0A=
# an initial request and 10 subsequent "keptalive" requests, it=0A=
# would only count as 1 request towards this limit.=0A=
#=0A=
MaxRequestsPerChild 500=0A=
=0A=
Include conf/addon-modules/php.conf=0A=
------=_NextPart_000_0020_01C5AD6F.E4432D30--