Comment: [réglé?]Attaque pirate sous OVH
| Next >> |
il faut configurer le fichier .htaccess pour éviter l'accés aux répertoire.
as tu par exemple essaye
# ask Apache to redirect to pretty error pages
#
ErrorDocument 401 /yacs/error.php?error=401
ErrorDocument 403 /yacs/error.php?error=403
ErrorDocument 404 /yacs/error.php?error=404
# disable directory browsing below this directory
#
Options -Indexes
# set the default handler to index.php
#
#DirectoryIndex index.php
# forbid remote retrieval of YACS configuration files
#
<Files ~ "\.include$">
order allow,deny
deny from all
</Files>
as tu par exemple essaye
# ask Apache to redirect to pretty error pages
#
ErrorDocument 401 /yacs/error.php?error=401
ErrorDocument 403 /yacs/error.php?error=403
ErrorDocument 404 /yacs/error.php?error=404
# disable directory browsing below this directory
#
Options -Indexes
# set the default handler to index.php
#
#DirectoryIndex index.php
# forbid remote retrieval of YACS configuration files
#
<Files ~ "\.include$">
order allow,deny
deny from all
</Files>
This comment has inspired:
by Dobliu on Aug. 30 2006