Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/05/2008, à 20:54

timou

serveur apache

bonjour

comment je fais pour telehcerger le modul mod-info.c pour apache

le fichier /usr/local/apache2/conf/extra/http-info-conf est le suivant
#
# Get information about the requests being processed by the server
# and the configuration of the server.
#
# Required modules: mod_status (for the server-status handler),
#                   mod_info (for the server-info handler)

#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.

<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Location>

#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On

#
# Allow remote server configuration reports, with the URL of
#  http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
<Location /server-info>
    SetHandler server-info
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</Location>

Hors ligne

#2 Le 21/05/2008, à 01:05

garnier

Re : serveur apache

Bonsoir,

il n'est pas necessaire de télécharger ce fichier, par contre regarde si le fichier info.load ou info.conf est bien chargé ( Include ) dans le fichier de configuration apache2.conf.

Par exemple :

# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf

Cordialement benoit

#3 Le 21/05/2008, à 09:03

timou

Re : serveur apache

j'ai instalé apache version source

donc /usr/local/apache2/conf /gedit httpd.conf  (localhost/server-status fonctionne et localhost/server-info non
le dernière lgne sont

EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
#EnableSendfile off

# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
#Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
httpd-info.conf

Hors ligne

#4 Le 21/05/2008, à 09:18

timou

Re : serveur apache

j'ai telecharger apache de www.apache.org

puis #./configure
#make
#make install


c'est la version source  est-ce-que je dois installer la version binair aussi

je n'ai pas  le chemin ??
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf

Hors ligne

#5 Le 21/05/2008, à 09:33

timou

Re : serveur apache

le problème que je dois faire un répertoire dans le serveur de type source avec authentification et qui donne accés aux service de la page d'information gérée par un serveur apache

Hors ligne

#6 Le 21/05/2008, à 15:35

garnier

Re : serveur apache

Bonjour,

regarde dans le fichier de configuration principal, si le module correspondant à info est chargé et s'il est présent dans le répertoire "modules"  :

LoadModule info_module modules/mod_info.so

Cordialement Benoit

#7 Le 22/05/2008, à 00:04

timou

Re : serveur apache

Merci garnier

ça marche

Dernière modification par timou (Le 22/05/2008, à 00:48)

Hors ligne

#8 Le 22/05/2008, à 00:53

timou

Re : serveur apache

bonsoir garnier

juste une question


si vous pouvez svp m'explique les principes de

mod_cache et modfile_cache
et ils ont des intéret et des inconvénients

ou je peux trouvé des exemples pour les essai

MERCI

Hors ligne