Rechercher : dans
Par :

Service http

Dernière réponse le 12 fév 2008 à 15:11:36 Medmidou, le 8 avr 2007 à 15:17:41 
 Signaler ce message aux modérateurs

Salut tout le monde

je travail sous FEDORA CORE 5

j'ai réinstallé le sevice httpd en installant le paquetage apache, php, mysql,

maintenat je veux que le service démmarre automatiquement lors de démmarage de l'ordinateur.

j'ai lu quelques documentations et j'ai su que je dois faire comme ça :

1-j'ai fais une copie de /usr/local/httpd vers /etc/init.d

2-puis un lien symbolique de /etc/init.d vers /etc/rc5.d en effetuant un ce nom "S15httpd" pour le lien, mé il ne marche pas que si seulement je l'exécute manuellement

$./httpd

est ce qu'il y a une chose qui manque??

merci

Configuration: Windows XP
Internet Explorer 6.0
FEDORA CORE 5

Meilleures réponses pour « service http » dans :
Démarrer un programme en tant que service (démon) VoirParfois il peut être utile qu'un programme démarre en même temps que l'ordinateur. Cet article va vous expliquer comment procéder pour utiliser un programme normal en tant que service (démon). A titre d'exemple, nous allons créer un mini-serveur...
Activer/Désactiver le service spouleur d'impression VoirLe service spouleur d'impression permet de charger en mémoire les travaux d'impression pour une impression ultérieure, c'est-à-dire à les mettre dans la file d'attente d'impression. Il peut aussi être la solution suite à l'échec d'installation des...
[Windows] Démarrer/arrêter un service en ligne de commande VoirL'outil netsh (netsh.exe) permet d'automatiser le démarrage ou l'arrêt d'un service grâce à la ligne de commande suivante : Pour démarrer un service : Net start nom_du_service Pour arrêter un service : Net stop nom_du_service Cela nécessite les...
Le protocole HTTP VoirIntroduction au protocole HTTP Le protocole HTTP (HyperText Transfer Protocol) est le protocole le plus utilisé sur Internet depuis 1990. La version 0.9 était uniquement destinée à transférer des données sur Internet (en particulier des pages Web...
Web Services VoirAvec l'interconnexion des ordinateurs en réseau et en particulier à travers internet, il devient possible de faire fonctionner des applications sur des machines distantes. L'intérêt d'une application fonctionnant à distance peut à première vue...
PHP - Les cookies et les en-têtes HTTP VoirLes en-têtes HTTP Lors de chaque échange par le protocole HTTP entre votre navigateur et le serveur, des données dîtes d'en-têtes contenant des informations sur les données à envoyer (dans le cas d'une requête) ou envoyées (dans le cas d'une...

1

jipicy, le 8 avr 2007 à 15:46:28

Salut,

Jette un oeil du côté de "chkconfig" (man chkconfig) pour gérer les services.
Z'@+...che.

JP : Zen, my Nuggets ! ;-)
Le savoir n'est bon que s'il est partagé.

Répondre à jipicy

2

Medmidou, le 9 avr 2007 à 10:18:23

Merci mais ça n'a pas marché pas avec chkconfig

Répondre à Medmidou

3

lami20j, le 9 avr 2007 à 10:53:43

Salut,

1-j'ai fais une copie de /usr/local/httpd vers /etc/init.d
veux-tu expliquer ça?

j'ai réinstallé le sevice httpd en installant le paquetage apache, php, mysql,
et ça aussi.

Puisque si tu as installé les paquetages tu n'as pas à chercher dans /usr/local lami20j

Répondre à lami20j

4

Medmidou, le 9 avr 2007 à 11:04:23

Avant de reinstaller les paquetages d'apache... il y avait un lien symbolique dans le répertoire /etc/rc5.d qui se nomme S15httpd, ce lien provient du fichier /etc/init.d/httpd. ça sert à démarrer le service httpd lors de démarrage de l'ordinateur.

Mais aprés que j'ai réinstallé ces paquetages le lien n'existe plus.
donc j'ai voulu effectuer le shéma qu'il y avait avant,,
j'ai trouvé un fichier qui se nomme httpd dans /usr/local... et j'ai fait une copie dans dans le dossier init.d et un lien dans rc5.d.
!!!!!!

Répondre à Medmidou

5

lami20j, le 9 avr 2007 à 11:07:43

j'ai trouvé un fichier qui se nomme httpd dans /usr/local... et j'ai fait une copie dans dans le dossier init.d et un lien dans rc5.d.
!!!!!!


Normalement tu dois supprimer ce que tu as dans /usr/local/httpd

Affiche

whereis httpd
chkconfig --list | grep http
lami20j

Répondre à lami20j

7

Medmidou, le 9 avr 2007 à 11:11:40

whereis httpd
httpd: /etc/httpd usr/local/httpd

chkconfig --list | grep http
rien n'est affiché

Répondre à Medmidou

6

lami20j, le 9 avr 2007 à 11:09:43

Re,

et ne poste pas un message en double :-) demande de l aide de ceux qui ont fedora core
Ca ne sers à rien.
Je viens de me rendre compte que je réponds 2 fois à la même question. lami20j

Répondre à lami20j

8

lami20j, le 9 avr 2007 à 11:16:29

Affiche

ls -l /usr/local/{,httpd}
--
lami20j

Répondre à lami20j

9

Medmidou, le 9 avr 2007 à 11:28:43

[root@LOCALHOST init.d]# ls -l /usr/local/{,httpd}

/usr/local/:

total 90608

drwxr-xr-x 5 root root 4096 avr 6 03:47 apache2

drwxr-xr-x 2 root root 4096 avr 6 03:32 bin

drwxr-xr-x 2 root root 4096 avr 6 03:32 etc

drwxr-xr-x 2 root root 4096 fév 11 2006 games

drwxr-xr-x 22 medmidou 500 4096 avr 6 03:41 httpd

-rw-r--r-- 1 root root 30597120 avr 6 03:04 httpd-2.2.4.tar

drwxr-xr-x 3 root root 4096 avr 6 03:32 include

drwxr-xr-x 3 root root 4096 avr 6 03:32 lib

drwxr-xr-x 2 root root 4096 fév 11 2006 libexec

drwxr-xr-x 3 root root 4096 avr 6 03:32 man

drwxr-xr-x 17 1002 1002 4096 avr 6 03:26 php

-rw-r--r-- 1 root root 48875520 avr 6 02:35 php-5.2.1.tar

-rw-r--r-- 1 root root 13076480 avr 6 03:53 phpMyAdmin-2.10.0.2-all-langua ges.tar

drwxr-xr-x 2 root root 4096 fév 11 2006 sbin

drwxr-xr-x 4 root root 4096 avr 5 19:42 share

drwxr-xr-x 2 root root 4096 fév 11 2006
src

/usr/local/httpd:

total 2276

-rw-r--r-- 1 medmidou 500 14882 nov 21 2004 ABOUT_APACHE

-rw-r--r-- 1 medmidou 500 18862 nov 13 2005 acinclude.m4

-rw-r--r-- 1 medmidou 500 46135 mar 9 2006 Apache.dsw

-rw-r--r-- 1 medmidou 500 189152 nov 21 2004 apachenw.mcp.zip

drwxr-xr-x 2 root root 4096 avr 6 03:16 bin

drwxr-xr-x 5 medmidou 500 4096 avr 6 03:41 build

-rw-r--r-- 1 medmidou 500 2678 déc 14 2005 BuildBin.dsp

-rwxr-xr-x 1 medmidou 500 5771 jui 12 2006 buildconf

-rw-r--r-- 1 root root 4260 avr 6 03:15 buildmark.o

drwxr-xr-x 2 root root 4096 avr 6 03:16 cgi-bin

-rw-r--r-- 1 medmidou 500 683765 jan 6 04:10 CHANGES

drwxr-xr-x 4 root root 4096 avr 6 03:44 conf

-rw-r--r-- 1 medmidou 500 10943 nov 21 2004 config.layout

-rw-r--r-- 1 root root 55909 avr 6 03:41 config.log

-rwxr-xr-x 1 root root 95 avr 6 03:40 config.nice

-rwxr-xr-x 1 root root 48415 avr 6 03:41 config.status

-rwxr-xr-x 1 medmidou 500 645217 jan 6 07:40 configure

-rw-r--r-- 1 medmidou 500 22913 jui 23 2006 configure.in

drwxr-xr-x 9 medmidou 500 4096 jan 6 07:38 docs

-rw-r--r-- 1 medmidou 500 403 nov 21 2004 emacs-style

drwxr-xr-x 3 root root 4096 avr 6 03:16 error

drwxr-xr-x 3 root root 4096 avr 8 16:01 htdocs

-rwxr-xr-x 1 root root 5753 avr 6 03:15 httpd

-rw-r--r-- 1 medmidou 500 3616 aoû 5 2006 httpd.dsp

-rw-r--r-- 1 medmidou 500 19127 jan 6 07:40 httpd.spec

drwxr-xr-x 3 root root 4096 avr 6 03:16 icons

drwxr-xr-x 2 medmidou 500 4096 avr 6 03:41 include

-rw-r--r-- 1 medmidou 500 3741 nov 29 2005 INSTALL

-rw-r--r-- 1 medmidou 500 2909 déc 7 18:49 InstallBin.dsp

-rw-r--r-- 1 medmidou 500 5145 nov 29 2005 LAYOUT

drwxr-xr-x 3 root root 4096 avr 6 03:16 lib

-rw-r--r-- 1 medmidou 500 16662 aoû 5 2006 libhttpd.dsp

-rw-r--r-- 1 medmidou 500 31652 jun 24 2006 LICENSE

drwxr-xr-x 2 root root 4096 avr 9 10:53 logs

-rw-r--r-- 1 root root 8719 avr 6 03:41 Makefile

-rw-r--r-- 1 medmidou 500 8559 nov 13 2005 Makefile.in

-rw-r--r-- 1 medmidou 500 31289 déc 7 18:09 Makefile.win

drwxr-xr-x 4 root root 4096 avr 6 03:16 man
drwxr-xr-x 14 root root 4096 jan 6 07:40 manual

drwxr-xr-x 20 medmidou 500 4096 avr 6 03:16 modules

-rw-r--r-- 1 root root 3718 avr 6 03:41 modules.c

-rw-r--r-- 1 root root 312 avr 6 03:15 modules.lo

-rw-r--r-- 1 root root 14200 avr 6 03:15 modules.o

-rw-r--r-- 1 medmidou 500 828 jui 27 2006 NOTICE

-rw-r--r-- 1 medmidou 500 10355 avr 30 2006 NWGNUmakefile

drwxr-xr-x 9 medmidou 500 4096 avr 6 03:12 os

-rw-r--r-- 1 medmidou 500 3351 nov 29 2005 README

-rw-r--r-- 1 medmidou 500 4722 aoû 27 2006 README.platforms
-rw-r--r-- 1 medmidou 500 10183 mar 14 2005 ROADMAP

drwxr-xr-x 4 medmidou 500 4096 avr 6 03:55 server

drwxr-xr-x 5 medmidou 500 4096 avr 6 03:12 srclib

drwxr-xr-x 5 medmidou 500 4096 avr 6 03:41 support

drwxr-xr-x 2 medmidou 500 4096 avr 6 03:12 test
-rw-r--r-- 1 medmidou 500 8183 oct 17 2005 VERSION

Répondre à Medmidou

10

lami20j, le 9 avr 2007 à 11:44:02

Salut,

sacré bordel chez toi :-)

en fait tu n'as pas installé apache
tu as juste decompresser l'archive
et je crois que tu as fait la même chose avec php et mysql
mais ce n'est pas suffisant
Voici les étapes pour l'installaton dépuis les sources
1. récupération des sources
2. vérifier le md5 ou sha1 ou pgp
3. décompression
4. lire le fichier INSTALL et/ou README s'ils existent, sinon cherche un autre fichier qui ressemble donner des infos
5. configuration
6. création de Makefile
7. Installation

pour ton info
les fichiers sources vaut mieux les mettre dans /usr/local/src
SouRCes

comme ça on evite le bordel dans /usr/local

Comme tu es débutant (je me trompe?:) je te propose d'installer avec yum
donc tu passe en root et tu tapes

yum -y install httpd php mysql mysql-server php-mysql
/sbin/chkconfig httpd on
/sbin/chkconfig mysqld on
/sbin/service httpd start
/sbin/service mysqld start
lami20j

Répondre à lami20j

11

Medmidou, le 9 avr 2007 à 11:54:00

Oui je débute avec linux :)
je vais essayer et je te mets au courant, merci

Répondre à Medmidou

12

Medmidou, le 9 avr 2007 à 12:18:43

Est ce que je dois désinstallé quelque chose avant de commencer l'installation de nouveau

[root@LOCALHOST init.d]# ls -l /usr/local
total 104
drwxr-xr-x 5 root root 4096 avr 6 03:47 apache2
drwxr-xr-x 2 root root 4096 avr 6 03:32 bin
drwxr-xr-x 2 root root 4096 avr 6 03:32 etc
drwxr-xr-x 2 root root 4096 fév 11 2006 games
drwxr-xr-x 22 medmidou 500 4096 avr 6 03:41 httpd
drwxr-xr-x 3 root root 4096 avr 6 03:32 include
drwxr-xr-x 3 root root 4096 avr 6 03:32 lib
drwxr-xr-x 2 root root 4096 fév 11 2006 libexec
drwxr-xr-x 3 root root 4096 avr 6 03:32 man
drwxr-xr-x 17 1002 1002 4096 avr 6 03:26 php
drwxr-xr-x 2 root root 4096 fév 11 2006 sbin
drwxr-xr-x 4 root root 4096 avr 5 19:42 share
drwxr-xr-x 2 root root 4096 fév 11 2006 src

Répondre à Medmidou

13

lami20j, le 9 avr 2007 à 12:23:06

Affiche

(ls -lR /etc/ | grep init.d.httpd) 2>/dev/null
il faut écrire tout y compris les paranthèses :-) lami20j

Répondre à lami20j

14

Medmidou, le 9 avr 2007 à 12:27:42

Oui je l'ai fais, il ne m'a rien retourné? je fais quoi manitenant?

Répondre à Medmidou

15

lami20j, le 9 avr 2007 à 12:37:22

Tu passes en root avec

su -
et ensuite tu tapes
yum -y install httpd php mysql mysql-server php-mysql
/sbin/chkconfig httpd on
/sbin/chkconfig mysqld on
/sbin/service httpd start
/sbin/service mysqld start
lami20j

Répondre à lami20j

16

Medmidou, le 9 avr 2007 à 13:32:08

Vraiment Merci beaucoup, ça marche :)
mais j'ai quelque petits questions
1-Ou se trouve le dossier ou je dois mettre les fichier html du test, avant c'était dans /etc/local/httpd/htdocs
2-Est ce que je n'ai plus besoin de l'ancien dossier /etc/local/httpd, est ce que je dois le supprimer?
merci encore

Répondre à Medmidou

17

lami20j, le 9 avr 2007 à 13:57:47

Salut,

avant de partir :-))
1-Ou se trouve le dossier ou je dois mettre les fichier html du test, avant c'était dans /etc/local/httpd/htdocs

je ne sais pas où se trouve ton fichier de configuration, donc affiche

find /etc/ -name '*http*.conf*'

2-Est ce que je n'ai plus besoin de l'ancien dossier /etc/local/httpd, est ce que je dois le supprimer?

il faut d'abord que je voie ce que tu as dans /etc/local/httpd
la commande en gras il faut la taper en root
ls -l /etc/local
whereis httpd
updatedb
locate http
lami20j

Répondre à lami20j

18

Medmidou, le 9 avr 2007 à 14:14:30

ls -l /etc/local : tu veux dire /usr/local :
drwxr-xr-x 5 root root 4096 avr 6 03:47 apache2
drwxr-xr-x 2 root root 4096 avr 6 03:32 bin
drwxr-xr-x 2 root root 4096 avr 6 03:32 etc
drwxr-xr-x 2 root root 4096 fév 11 2006 games
drwxr-xr-x 22 medmidou 500 4096 avr 6 03:41 httpd
drwxr-xr-x 3 root root 4096 avr 6 03:32 include
drwxr-xr-x 3 root root 4096 avr 6 03:32 lib
drwxr-xr-x 2 root root 4096 fév 11 2006 libexec
drwxr-xr-x 3 root root 4096 avr 6 03:32 man
drwxr-xr-x 17 1002 1002 4096 avr 6 03:26 php
drwxr-xr-x 2 root root 4096 fév 11 2006 sbin
drwxr-xr-x 4 root root 4096 avr 5 19:42 share
drwxr-xr-x 2 root root 4096 fév 11 2006 sr

whereis httpd
httpd: /usr/sbin/httpd /usr/sbin/httpd.worker /etc/httpd /usr/lib/httpd /usr/local/httpd /usr/share/man/man8/httpd.8.gz



updatedb

locate http

locate http |more
/etc/httpd
/etc/gconf/schemas/system_http_proxy.schemas
/etc/httpd/conf
/etc/httpd/conf.d
/etc/httpd/logs
/etc/httpd/modules
/etc/httpd/php.ini
/etc/httpd/run
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf~
/etc/httpd/conf/magic
/etc/httpd/conf.d/README
/etc/httpd/conf.d/php.conf
/etc/httpd/conf.d/proxy_ajp.conf
/etc/httpd/conf.d/welcome.conf
/etc/httpd/conf.d/welcome.conf.rpmsave
/etc/httpd/conf.d/welcome.conf~
/etc/logrotate.d/httpd
/etc/rc.d/init.d/httpd
/etc/rc.d/init.d/httpd.rpmorig
/etc/rc.d/init.d/.libs/lt-httpd
/etc/rc.d/rc0.d/K15httpd
/etc/rc.d/rc1.d/K15httpd
/etc/rc.d/rc2.d/S85httpd
/etc/rc.d/rc3.d/S85httpd
/etc/rc.d/rc4.d/S85httpd
/etc/rc.d/rc5.d/S85httpd
/etc/rc.d/rc6.d/K15httpd
/etc/sysconfig/httpd
/root/.kde/share/config/kio_httprc
/root/.nautilus/metafiles/file:%2F%2F%2Fetc%2Fhttpd.xml
/root/.nautilus/metafiles/file:%2F%2F%2Fusr%2Flocal%2Fhttpd%­2Fhtdocs.xml
/root/.nautilus/metafiles/file:%2F%2F%2Fusr%2Flocal%2Fhttpd.­xml
/root/Desktop/httpd
/root/Desktop/.libs/lt-httpd
/root/Desktop/logiciels to install/httpd-2.2.4.tar.gz
/root/Desktop/logiciels to install/php-5.2.1/ext/mbstring/tests/mb_http_input.phpt
/root/Desktop/logiciels to install/php-5.2.1/ext/mbstring/tests/mb_http_output.phpt
/root/Desktop/logiciels to install/php-5.2.1/ext/soap/php_http.c
/root/Desktop/logiciels to install/php-5.2.1/ext/soap/php_http.h
/root/Desktop/logiciels to install/php-5.2.1/ext/standard/http.c
/root/Desktop/logiciels to install/php-5.2.1/ext/standard/http_fopen_wrapper.c
/root/Desktop/logiciels to install/php-5.2.1/ext/standard/php_http.h
/root/Desktop/logiciels to install/php-5.2.1/ext/standard/tests/strings/http_build_quer­y.phpt
/root/Desktop/logiciels to install/php-5.2.1/sapi/phttpd
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd
/root/Desktop/logiciels to install/php-5.2.1/sapi/apache/php_apache_http.h
/root/Desktop/logiciels to install/php-5.2.1/sapi/apache_hooks/php_apache_http.h/root/D­esktop/logiciels to install/php-5.2.1/sapi/phttpd/CREDITS
/root/Desktop/logiciels to install/php-5.2.1/sapi/phttpd/README
/root/Desktop/logiciels to install/php-5.2.1/sapi/phttpd/config.m4
/root/Desktop/logiciels to install/php-5.2.1/sapi/phttpd/php.sym
/root/Desktop/logiciels to install/php-5.2.1/sapi/phttpd/php_phttpd.h
/root/Desktop/logiciels to install/php-5.2.1/sapi/phttpd/phttpd.c
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/CREDITS
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/README
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/config.m4
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/php.sym
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/php_thttpd.h
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/stub.c
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/thttpd.c
/root/Desktop/logiciels to install/php-5.2.1/sapi/thttpd/thttpd_patch
/selinux/booleans/allow_httpd_anon_write
/selinux/booleans/allow_httpd_sys_script_anon_write
/selinux/booleans/httpd_builtin_scripting
/selinux/booleans/httpd_can_network_connect
/selinux/booleans/httpd_can_network_connect_db
/selinux/booleans/httpd_can_network_relay
/selinux/booleans/httpd_disable_trans
/selinux/booleans/httpd_enable_cgi
/selinux/booleans/httpd_enable_ftp_server
/selinux/booleans/httpd_enable_homedirs
/selinux/booleans/httpd_ssi_exec
/selinux/booleans/httpd_suexec_disable_trans
/selinux/booleans/httpd_tty_comm
/selinux/booleans/httpd_unified
/usr/bin/kio_http_cache_cleaner
/usr/bin/krfb_httpd
/usr/include/c++/4.1.0/gnu/java/net/protocol/http
/usr/include/c++/4.1.0/gnu/java/net/protocol/https
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/Authentica­tor.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/ByteArrayR­equestBodyWriter.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/ChunkedInp­utStream.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/Cookie.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/CookieMana­ger.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/Credential­s.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/HTTPConnec­tion.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/HTTPDateFo­rmat.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/HTTPURLCon­nection.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/Headers.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/LimitedLen­gthInputStream.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/Request.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/RequestBod­yWriter.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/Response.h­
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/ResponseHe­aderHandler.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/http/SimpleCook­ieManager.h
/usr/include/c++/4.1.0/gnu/java/net/protocol/https/Handler.h­
/usr/include/libxml2/libxml/nanohttp.h
/usr/lib/httpd
/usr/lib/libkdeinit_kio_http_cache_cleaner.la
/usr/lib/libkdeinit_kio_http_cache_cleaner.so
/usr/lib/cups/backend/http
/usr/lib/evolution/2.6/plugins/liborg-gnome-calendar-http.so­
/usr/lib/evolution/2.6/plugins/org-gnome-calendar-http.eplug­
/usr/lib/evolution-data-server-1.2/extensions/libecalbackend­http.so
/usr/lib/firefox-1.5.0.1/components/necko_http.xpt
/usr/lib/gnome-vfs-2.0/modules/libhttp.so
/usr/lib/gnupg/gpgkeys_http
/usr/lib/httpd/modules
/usr/lib/httpd/modules/libphp5.so
/usr/lib/httpd/modules/mod_actions.so
/usr/lib/httpd/modules/libphp5.so
/usr/lib/httpd/modules/mod_actions.so
/usr/lib/httpd/modules/mod_alias.so
/usr/lib/httpd/modules/mod_asis.so
/usr/lib/httpd/modules/mod_auth_basic.so
/usr/lib/httpd/modules/mod_auth_digest.so
/usr/lib/httpd/modules/mod_authn_alias.so
/usr/lib/httpd/modules/mod_authn_anon.so
/usr/lib/httpd/modules/mod_authn_dbd.so
/usr/lib/httpd/modules/mod_authn_dbm.so
/usr/lib/httpd/modules/mod_authn_default.so
/usr/lib/httpd/modules/mod_authn_file.so
/usr/lib/httpd/modules/mod_authnz_ldap.so
/usr/lib/httpd/modules/mod_authz_dbm.so
/usr/lib/httpd/modules/mod_authz_default.so
/usr/lib/httpd/modules/mod_authz_groupfile.so
/usr/lib/httpd/modules/mod_authz_host.so
/usr/lib/httpd/modules/mod_authz_owner.so
/usr/lib/httpd/modules/mod_authz_user.so
/usr/lib/httpd/modules/mod_autoindex.so
/usr/lib/httpd/modules/mod_cache.so
/usr/lib/httpd/modules/mod_cern_meta.so
/usr/lib/httpd/modules/mod_cgi.so
/usr/lib/httpd/modules/mod_dav_fs.so
/usr/lib/httpd/modules/mod_dbd.so
/usr/lib/httpd/modules/mod_deflate.so
/usr/lib/httpd/modules/mod_dir.so
/usr/lib/httpd/modules/mod_disk_cache.so
/usr/lib/httpd/modules/mod_dumpio.so
/usr/lib/httpd/modules/mod_env.so
/usr/lib/httpd/modules/mod_expires.so
/usr/lib/httpd/modules/mod_ext_filter.so
/usr/lib/httpd/modules/mod_file_cache.so
/usr/lib/httpd/modules/mod_filter.so
/usr/lib/httpd/modules/mod_headers.so
/usr/lib/httpd/modules/mod_ident.so
/usr/lib/httpd/modules/mod_imagemap.so
/usr/lib/httpd/modules/mod_include.so
/usr/lib/httpd/modules/mod_info.so
/usr/lib/httpd/modules/mod_ldap.so
/usr/lib/httpd/modules/mod_log_config.so
/usr/lib/httpd/modules/mod_log_forensic.so
/usr/lib/httpd/modules/mod_logio.so
/usr/lib/httpd/modules/mod_mem_cache.so
/usr/lib/httpd/modules/mod_mime.so
/usr/lib/httpd/modules/mod_mime_magic.so
/usr/lib/httpd/modules/mod_proxy.so
/usr/lib/httpd/modules/mod_proxy_ajp.so
/usr/lib/httpd/modules/mod_proxy_balancer.so
/usr/lib/httpd/modules/mod_proxy_connect.so
/usr/lib/httpd/modules/mod_proxy_ftp.so
/usr/lib/httpd/modules/mod_proxy_http.so
/usr/lib/httpd/modules/mod_rewrite.so
/usr/lib/httpd/modules/mod_setenvif.so
/usr/lib/httpd/modules/mod_speling.so
/usr/lib/httpd/modules/mod_status.so
/usr/lib/httpd/modules/mod_suexec.so
/usr/lib/httpd/modules/mod_unique_id.so
/usr/lib/httpd/modules/mod_userdir.so
/usr/lib/httpd/modules/mod_usertrack.so
/usr/lib/httpd/modules/mod_version.so
/usr/lib/httpd/modules/mod_vhost_alias.so
/usr/lib/kde3/kio_http.la
/usr/lib/kde3/kio_http.so
/usr/lib/kde3/kio_http_cache_cleaner.la
/usr/lib/kde3/kio_http_cache_cleaner.so
/usr/lib/lftp/3.4.2/proto-http.so
/usr/lib/mozilla-1.7.12/components/necko_http.xpt
/usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol/http.pm
/usr/lib/perl5/vendor_perl/5.8.8/LWP/Protocol/https10.pm
/usr/lib/perl5/vendor_perl/5.8.8/URI/http.pm
/usr/lib/perl5/vendor_perl/5.8.8/URI/https.pm
/usr/lib/python2.4/httplib.py
/usr/lib/python2.4/httplib.pyc
/usr/lib/python2.4/httplib.pyo
/usr/lib/python2.4/test/test_httplib.py
/usr/lib/python2.4/test/test_httplib.pyc
/usr/lib/python2.4/test/test_httplib.pyo
/usr/lib/python2.4/test/output/test_httplib
/usr/lib/rpm/http.req
/usr/local/httpd
/usr/local/httpd/.deps
/usr/local/httpd/.gdbinit
/usr/local/httpd/.libs
/usr/local/httpd/ABOUT_APACHE
/usr/local/httpd/Apache.dsw
/usr/local/httpd/BuildBin.dsp
/usr/local/httpd/CHANGES
/usr/local/httpd/INSTALL
/usr/local/httpd/InstallBin.dsp
/usr/local/httpd/LAYOUT
/usr/local/httpd/LICENSE
usr/local/httpd/Makefile.win
/usr/local/httpd/NOTICE
/usr/local/httpd/NWGNUmakefile
/usr/local/httpd/README
/usr/local/httpd/README.platforms
/usr/local/httpd/ROADMAP
/usr/local/httpd/VERSIONING
/usr/local/httpd/acinclude.m4
/usr/local/httpd/apachenw.mcp.zip
/usr/local/httpd/bin
/usr/local/httpd/build
/usr/local/httpd/buildconf
/usr/local/httpd/buildmark.o
/usr/local/httpd/cgi-bin
/usr/local/httpd/conf
/usr/local/httpd/config.layout
/usr/local/httpd/config.log
/usr/local/httpd/config.nice
/usr/local/httpd/config.status
/usr/local/httpd/configure
/usr/local/httpd/configure.in
/usr/local/httpd/docs
/usr/local/httpd/emacs-style
/usr/local/httpd/httpd
/usr/local/httpd/httpd.dsp
/usr/local/httpd/httpd.spec
/usr/local/httpd/icons
/usr/local/httpd/include
/usr/local/httpd/lib
/usr/local/httpd/libhttpd.dsp
/usr/local/httpd/logs
/usr/local/httpd/man
/usr/local/httpd/manual
/usr/local/httpd/modules
/usr/local/httpd/modules.c
/usr/local/httpd/modules.lo
/usr/local/httpd/modules.o
/usr/local/httpd/os
/usr/local/httpd/server
/usr/local/httpd/srclib
/usr/local/httpd/support
/usr/local/httpd/test
/usr/local/httpd/.libs/httpd
/usr/local/httpd/.libs/lt-httpd
/usr/local/httpd/.libs/modules.o
/usr/local/httpd/bin/ab
/usr/local/httpd/bin/checkgid
/usr/local/httpd/bin/dbmmanage
/usr/local/httpd/bin/envvars
/usr/local/httpd/bin/envvars-std
/usr/local/httpd/bin/htcacheclean
/usr/local/httpd/bin/htdbm
/usr/local/httpd/bin/htdigest
/usr/local/httpd/bin/htpasswd
/usr/local/httpd/bin/httpd
/usr/local/httpd/bin/httxt2dbm
/usr/local/httpd/bin/logresolve
/usr/local/httpd/bin/rotatelogs
/usr/local/httpd/build/NWGNUenvironment.inc
/usr/local/httpd/build/NWGNUhead.inc
/usr/local/httpd/build/NWGNUmakefile
/usr/local/httpd/build/NWGNUtail.inc
/usr/local/httpd/build/PrintPath
/usr/local/httpd/build/apr_common.m4
/usr/local/httpd/build/apr_rules.mk
/usr/local/httpd/build/binbuild.sh
/usr/local/httpd/build/bsd_makefile
/usr/local/httpd/build/build-modules-c.awk
/usr/local/httpd/build/buildinfo.sh
/usr/local/httpd/build/install.sh
/usr/local/httpd/build/instdso.sh
/usr/local/httpd/build/library.mk
/usr/local/httpd/build/libtool
/usr/local/httpd/build/ltlib.mk
/usr/local/httpd/build/ltmain.sh
/usr/local/httpd/build/make_exports.awk
/usr/local/httpd/build/make_nw_export.awk
/usr/local/httpd/build/make_var_export.awk
/usr/local/httpd/build/mkconfNW.awk
/usr/local/httpd/build/mkdep.perl
/usr/local/httpd/build/mkdir.sh
/usr/local/httpd/build/nw_export.inc
/usr/local/httpd/build/nw_ver.awk
/usr/local/httpd/build/pkg
/usr/local/httpd/build/prebuildNW.bat
/usr/local/httpd/build/program.mk
/usr/local/httpd/build/rpm
/usr/local/httpd/build/rules.mk
/usr/local/httpd/build/rules.mk.in
/usr/local/httpd/build/special.mk
/usr/local/httpd/build/sysv_makefile
/usr/local/httpd/docs/icons/apache_pb2.png
/usr/local/httpd/docs/icons/apache_pb2_ani.gif
/usr/local/httpd/docs/icons/back.gif
/usr/local/httpd/docs/icons/back.png
/usr/local/httpd/docs/icons/ball.gray.gif
/usr/local/httpd/docs/icons/ball.gray.png
/usr/local/httpd/docs/icons/ball.red.gif
/usr/local/httpd/docs/icons/ball.red.png
/usr/local/httpd/docs/icons/binary.gif
/usr/local/httpd/docs/icons/binary.png
/usr/local/httpd/docs/icons/binhex.gif
/usr/local/httpd/docs/icons/binhex.png
/usr/local/httpd/docs/icons/blank.gif
/usr/local/httpd/docs/icons/blank.png
/usr/local/httpd/docs/icons/bomb.gif
/usr/local/httpd/docs/icons/bomb.png
/usr/local/httpd/docs/icons/box1.gif
/usr/local/httpd/docs/icons/box1.png
/usr/local/httpd/docs/icons/box2.gif
/usr/local/httpd/docs/icons/box2.png
/usr/local/httpd/docs/icons/broken.gif
/usr/local/httpd/docs/icons/broken.png
/usr/local/httpd/docs/icons/burst.gif
/usr/local/httpd/docs/icons/burst.png
/usr/local/httpd/docs/icons/c.gif
/usr/local/httpd/docs/icons/c.png
/usr/local/httpd/docs/icons/comp.blue.gif
/usr/local/httpd/docs/icons/comp.blue.png
/usr/local/httpd/docs/icons/comp.gray.gif
/usr/local/httpd/docs/icons/comp.gray.png
/usr/local/httpd/docs/icons/compressed.gif
/usr/local/httpd/docs/icons/compressed.png
/usr/local/httpd/docs/icons/continued.gif
/usr/local/httpd/docs/icons/continued.png
/usr/local/httpd/docs/icons/dir.gif
/usr/local/httpd/docs/icons/dir.png
/usr/local/httpd/docs/icons/diskimg.gif
/usr/local/httpd/docs/icons/diskimg.png
/usr/local/httpd/docs/icons/down.gif
/usr/local/httpd/docs/icons/down.png
/usr/local/httpd/docs/icons/dvi.gif
/usr/local/httpd/docs/icons/dvi.png
/usr/local/httpd/docs/icons/f.gif
/usr/local/httpd/docs/icons/f.png
/usr/local/httpd/docs/icons/folder.gif
/usr/local/httpd/docs/icons/folder.open.gif
/usr/local/httpd/docs/icons/folder.open.png
/usr/local/httpd/docs/icons/folder.png
/usr/local/httpd/docs/icons/folder.sec.gif
/usr/local/httpd/docs/icons/folder.sec.png
/usr/local/httpd/docs/icons/forward.gif
/usr/local/httpd/docs/icons/forward.png
/usr/local/httpd/docs/icons/generic.gif
/usr/local/httpd/docs/icons/generic.png
/usr/local/httpd/docs/icons/generic.red.gif
/usr/local/httpd/docs/icons/generic.red.png
/usr/local/httpd/docs/icons/generic.sec.gif
/usr/local/httpd/docs/icons/generic.sec.png
/usr/local/httpd/docs/icons/hand.right.gif
/usr/local/httpd/docs/icons/hand.right.png
/usr/local/httpd/docs/icons/hand.up.gif
/usr/local/httpd/docs/icons/hand.up.png
/usr/local/httpd/docs/icons/icon.sheet.gif
/usr/local/httpd/docs/icons/icon.sheet.png
/usr/local/httpd/docs/icons/image1.gif
/usr/local/httpd/docs/icons/image1.png
/usr/local/httpd/docs/icons/image2.gif
/usr/local/httpd/docs/icons/image2.png
/usr/local/httpd/docs/icons/image3.gif
/usr/local/httpd/docs/icons/image3.png
/usr/local/httpd/docs/icons/index.gif
/usr/local/httpd/docs/icons/index.png
/usr/local/httpd/docs/icons/layout.gif
/usr/local/httpd/docs/icons/layout.png
/usr/local/httpd/docs/icons/left.gif
/usr/local/httpd/docs/icons/left.png
/usr/local/httpd/docs/icons/link.gif
/usr/local/httpd/docs/icons/link.png
/usr/local/httpd/docs/icons/movie.gif
/usr/local/httpd/docs/icons/movie.png
/usr/local/httpd/docs/icons/p.gif
/usr/local/httpd/docs/icons/p.png
/usr/local/httpd/docs/icons/patch.gif
/usr/local/httpd/docs/icons/patch.png
/usr/local/httpd/docs/icons/pdf.gif
/usr/local/httpd/docs/icons/pdf.png
/usr/local/httpd/docs/icons/pie0.gif
/usr/local/httpd/docs/icons/pie0.png
/usr/local/httpd/docs/icons/pie1.gif
/usr/local/httpd/docs/icons/pie1.png
/usr/local/httpd/docs/icons/pie2.gif
/usr/local/httpd/docs/icons/pie2.png
/usr/local/httpd/docs/icons/pie3.gif
/usr/local/httpd/docs/icons/pie3.png
/usr/local/httpd/docs/icons/pie4.gif
/usr/local/httpd/docs/icons/pie4.png
/usr/local/httpd/docs/icons/pie5.gif
/usr/local/httpd/docs/icons/pie5.png
/usr/local/httpd/docs/icons/pie6.gif
/usr/local/httpd/docs/icons/pie6.png
/usr/local/httpd/docs/icons/pie7.gif
/usr/local/httpd/docs/icons/pie7.png
/usr/local/httpd/docs/icons/pie8.gif
/usr/local/httpd/docs/manual/convenience.map
/usr/local/httpd/docs/manual/custom-error.html
/usr/local/httpd/docs/manual/custom-error.html.en
/usr/local/httpd/docs/manual/custom-error.html.es
/usr/local/httpd/htdocs/apache_pb.gif
/usr/local/httpd/htdocs/apache_pb.png
/usr/local/httpd/htdocs/apache_pb22.gif
/usr/local/httpd/htdocs/apache_pb22.png
/usr/local/httpd/htdocs/apache_pb22_ani.gif
/usr/local/httpd/htdocs/essai.php~
/usr/local/httpd/htdocs/index.html
/usr/local/httpd/htdocs/index.html~
/usr/local/httpd/htdocs/phpMyAdmin
/usr/local/httpd/htdocs/phpMyAdmin/CREDITS
/usr/local/httpd/htdocs/phpMyAdmin/ChangeLog
/usr/local/httpd/htdocs/phpMyAdmin/Documentation.html
/usr/local/httpd/htdocs/phpMyAdmin/Documentation.txt
/usr/local/httpd/htdocs/phpMyAdmin/INSTALL
/usr/local/httpd/htdocs/phpMyAdmin/LICENSE
/usr/local/httpd/htdocs/phpMyAdmin/README
/usr/local/httpd/htdocs/phpMyAdmin/RELEASE-DATE-2.10.0.2
/usr/local/httpd/htdocs/phpMyAdmin/TODO
/usr/local/httpd/htdocs/phpMyAdmin/browse_foreigners.php
/usr/local/httpd/htdocs/phpMyAdmin/calendar.php
/usr/local/httpd/htdocs/phpMyAdmin/changelog.php
/usr/local/httpd/htdocs/phpMyAdmin/chk_rel.php
.....
...

Répondre à Medmidou

19

lami20j, le 9 avr 2007 à 18:24:20

ls -l /etc/local : tu veux dire /usr/local :
moi je ne veux rien dire :-)) c'est toi qui l'as dit
regarde ta 1ère question
1-Ou se trouve le dossier ou je dois mettre les fichier html du test, avant c'était dans /etc/local/httpd/htdocs

tu peux supprimer tout ce que tu as en /usr/local/httpd

rm -vfR /usr/local/httpd
ensuite affiche
grep -i documentroot /etc/httpd/conf/httpd.conf 
lami20j

Répondre à lami20j

20

Medmidou, le 9 avr 2007 à 19:42:31

Merci,, je l'ai trouvé ce dossier, c'est dans /var/www/html
j'ai essayé une page html :)

et si je veux mettre des pages php?? je fais quoi? désolé si je t'ai trop dérangé

Répondre à Medmidou

21

lami20j, le 9 avr 2007 à 19:56:15

En root tape

echo -e '<?\nphpinfo();\n?>' > /var/www/html/test.php
chmod -v a+x /var/www/html/test.php
ensuite tape dans la bare d'adresse de ton navigateur
http://localhost/test.php
lami20j

Répondre à lami20j