Problème de configuration de apache 2
Résolu/Fermé
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
-
15 août 2007 à 11:11
bigdy - 1 janv. 2009 à 14:48
bigdy - 1 janv. 2009 à 14:48
A voir également:
- Problème de configuration de apache 2
- Ethernet n'a pas de configuration ip valide - Guide
- Panneau de configuration - Guide
- Word numéro de page 1/2 - Guide
- 2 comptes whatsapp - Guide
- Retablir configuration usine chromecast - Guide
47 réponses
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 16:58
15 août 2007 à 16:58
bon on a pas regler le problème car maintenant quand je fais 127.0.0.1, je n'est même pas la page comme quoi j'ai installer apache, j'ai : Placeholder page
If you are just browsing the web
The owner of this web site has not put up any web pages yet. Please come back later.
Move along, nothing to see here... :-)
If you are trying to locate the administrator of this machine
If you want to report something about this host's behavior, please contact the Internet Service Provider (ISP) involved directly.
See the Network Abuse Clearinghouse for how to do this.
If you are the administrator of this machine
The initial installation of Debian's apache web server package was successful.
You should replace this page with your own web pages as soon as possible.
Unless you changed its configuration, your new server is configured as follows:
* Configuration files can be found in /etc/apache.
* The DocumentRoot, which is the directory under which all your HTML files should exist, is set to /var/www.
* CGI scripts are looked for in /usr/lib/cgi-bin, which is where Debian packages will place their scripts.
* Log files are placed in /var/log/apache, and will be rotated weekly. The frequency of rotation can be easily changed by editing /etc/logrotate.d/apache.
* The default directory index is index.html, meaning that requests for a directory /foo/bar/ will give the contents of the file /var/www/foo/bar/index.html if it exists (assuming that /var/www is your DocumentRoot).
* User directories are enabled, and user documents will be looked for in the public_html directory of the users' homes. These dirs should be under /home, and users will not be able to symlink to files they don't own.
All the standard apache modules are available with this release and are now managed with debconf. Type dpkg-reconfigure apache to select which modules you want enabled. Many other modules are available through the Debian package system with the names libapache-mod-*. If you need to compile a module yourself, you will need to install the apache-dev package.
More documentation on Apache can be found on:
* The Apache documentation stored on your server.
* The Apache Project home site.
* The Apache-SSL home site.
* The mod perl home site.
* The ApacheWeek newsletter.
* The Debian Project Documentation which contains HOWTOs, FAQs, and software updates.
You can also consult the list of World Wide Web Frequently Asked Questions for information.
Let other people know about this server
Netcraft provides an interesting free service for web site monitoring and statistic collection. You can let them know about your server using their interface. Enabling the monitoring of your server will provide a better global overview of who is using what and where, and it would give Debian a better overview of the apache package usage.
About this page
This is a placeholder page installed by the Debian release of the apache Web server package.
This computer has installed the Debian GNU/Linux operating system, but it has nothing to do with the Debian Project. Please do not contact the Debian Project about it.
If you find a bug in this apache package, or in Apache itself, please file a bug report on it. Instructions on doing this, and the list of known bugs of this package, can be found in the Debian Bug Tracking System.
Thanks for using this package, and congratulations for your choice of a Debian system!
If you are just browsing the web
The owner of this web site has not put up any web pages yet. Please come back later.
Move along, nothing to see here... :-)
If you are trying to locate the administrator of this machine
If you want to report something about this host's behavior, please contact the Internet Service Provider (ISP) involved directly.
See the Network Abuse Clearinghouse for how to do this.
If you are the administrator of this machine
The initial installation of Debian's apache web server package was successful.
You should replace this page with your own web pages as soon as possible.
Unless you changed its configuration, your new server is configured as follows:
* Configuration files can be found in /etc/apache.
* The DocumentRoot, which is the directory under which all your HTML files should exist, is set to /var/www.
* CGI scripts are looked for in /usr/lib/cgi-bin, which is where Debian packages will place their scripts.
* Log files are placed in /var/log/apache, and will be rotated weekly. The frequency of rotation can be easily changed by editing /etc/logrotate.d/apache.
* The default directory index is index.html, meaning that requests for a directory /foo/bar/ will give the contents of the file /var/www/foo/bar/index.html if it exists (assuming that /var/www is your DocumentRoot).
* User directories are enabled, and user documents will be looked for in the public_html directory of the users' homes. These dirs should be under /home, and users will not be able to symlink to files they don't own.
All the standard apache modules are available with this release and are now managed with debconf. Type dpkg-reconfigure apache to select which modules you want enabled. Many other modules are available through the Debian package system with the names libapache-mod-*. If you need to compile a module yourself, you will need to install the apache-dev package.
More documentation on Apache can be found on:
* The Apache documentation stored on your server.
* The Apache Project home site.
* The Apache-SSL home site.
* The mod perl home site.
* The ApacheWeek newsletter.
* The Debian Project Documentation which contains HOWTOs, FAQs, and software updates.
You can also consult the list of World Wide Web Frequently Asked Questions for information.
Let other people know about this server
Netcraft provides an interesting free service for web site monitoring and statistic collection. You can let them know about your server using their interface. Enabling the monitoring of your server will provide a better global overview of who is using what and where, and it would give Debian a better overview of the apache package usage.
About this page
This is a placeholder page installed by the Debian release of the apache Web server package.
This computer has installed the Debian GNU/Linux operating system, but it has nothing to do with the Debian Project. Please do not contact the Debian Project about it.
If you find a bug in this apache package, or in Apache itself, please file a bug report on it. Instructions on doing this, and the list of known bugs of this package, can be found in the Debian Bug Tracking System.
Thanks for using this package, and congratulations for your choice of a Debian system!
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 17:03
15 août 2007 à 17:03
affiche
ls -l /var/www
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 17:06
15 août 2007 à 17:06
debian-famillekerr:/home/victorkerr# ls -l /var/www
total 16
drwxr-xr-x 2 root root 4096 2007-08-13 22:12 apache2-default
-rw-r--r-- 1 www-data www-data 5258 2007-08-13 22:12 index.html
lrwxrwxrwx 1 root root 21 2007-08-13 22:26 phpmyadmin -> /usr/share/phpmyadmin
-rw-r--r-- 1 root root 20 2007-08-15 01:02 test.php
debian-famillekerr:/home/victorkerr#
total 16
drwxr-xr-x 2 root root 4096 2007-08-13 22:12 apache2-default
-rw-r--r-- 1 www-data www-data 5258 2007-08-13 22:12 index.html
lrwxrwxrwx 1 root root 21 2007-08-13 22:26 phpmyadmin -> /usr/share/phpmyadmin
-rw-r--r-- 1 root root 20 2007-08-15 01:02 test.php
debian-famillekerr:/home/victorkerr#
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 17:11
15 août 2007 à 17:11
tu n'as aucun message dans /var/log/apache2/error.log ?
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 17:14
15 août 2007 à 17:14
en tapnt ta commande tail -30 /var/log/apache2/error.log, je n'ai rien qui s'affiche. et je ne peut pas le lire car il est proteger.
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
15 août 2007 à 17:18
15 août 2007 à 17:18
si tu n'as pas messages d'erreurs ça veut dire que tu as accès
t'es root quand même
voilà ce que tu avais si c'était le cas des permissions
regarde tes Messages privés
t'es root quand même
voilà ce que tu avais si c'était le cas des permissions
lami20j@deb:~$ tail /var/log/apache2/error.log tail: Ne peut ouvrir `/var/log/apache2/error.log' en lecture: Permission non accordée
regarde tes Messages privés
samhor
Messages postés
46
Date d'inscription
mercredi 15 août 2007
Statut
Membre
Dernière intervention
10 avril 2009
2
15 août 2007 à 17:25
15 août 2007 à 17:25
Je voulais dire que je ne pouvais le lire en y accedant par l'arborescence. dsl