Pages : 1
#1 Le 11/05/2007, à 22:40
- ecortex
Sécurité et domain... Questions!
Bonsoir,
j'ai modifier la config de mon serveur apache (voir documentation sur la sécurité d'apache) et voila ce que me met l'ordinateur.
ecortex@ecortex-desktop:~$ sudo /etc/init.d/apache2 reload
* Reloading web server config... 6843
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Que faire? Je n'ai pas de nom de domaine j'aimerais juste donner mon ip a quelques personnes pour qu'ils puissent se connecter sur mon serveur.
Ps: J'aimerais connaitre votre avis sur la sécurité de mon serveur. Pensez vous que cela suffit? Peut de gens auront mon adresse.
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
<Directory />
Order Deny,Allow
Deny from all
Options None
AllowOverride None
</Directory>
<Directory /var/www/>
Order Allow,Deny
Allow from all
Options -Includes
Options -ExecCGI
Options -FollowSymLinks
</Directory>
AccessFileName .httpdoverride
<Files ~ "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
</VirtualHost>
Merci d'avance et bonne soirée!
EDIT: Depuis que j'ai modifier ma config pour améliorer la sécuriter je ne peut plus atteindre phpmyadmin... Voici le message d'erreur:
Forbidden
You don't have permission to access /phpmyadmin/index.php on this server.
Que faire? Merci d'avance
Dernière modification par ecortex (Le 11/05/2007, à 23:05)
Hors ligne
#2 Le 18/08/2007, à 10:21
- Ekinoks
Re : Sécurité et domain... Questions!
Salut !
J'ai la meme erreur :
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Hors ligne
Pages : 1