Pure Os

Fermer Val-Libre

Fermer Linux la mieux adaptée à vos besoins.

Fermer PureOs

Fermer lexique internet

Technique

Fermer Grub2

Fermer Compiler mad wifi

Fermer Logcheck

Fermer Ludotheque en ligne

Fermer Réparation d’un système de fichiers ext2 ou ext3 sous Linux

Fermer Securisation site par .htaccess

Fermer apache 2

Fermer awn

Fermer enlightenment_dr_17

Fermer hercules dj

Fermer pass mysql

Fermer x-fi

Fermer xsane et reconnaissance de caractere

Compilation d\'un noyau
Ndiswrapper
geneweb
Visites

   visiteurs

   visiteurs en ligne

Nouvelles des Amis
Securisation site par .htaccess - hosts virtuel 80
NameVirtualHost *:443
<VirtualHost *:443>
        ServerAdmin webmaster@votre url
        ServerName votre url
        LogLevel warn
        DocumentRoot /ou est votre site
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /ou est votre site >
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                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 All
                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 All
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>
~              

Date de création : 12/10/2009 @ 13:56
Dernière modification : 12/10/2009 @ 14:11
Catégorie : Securisation site par .htaccess
Page lue 294 fois


Imprimer l'article Imprimer l'article

Réactions à cet article


Personne n'a encore laissé de commentaire.
Soyez donc le premier !


Préférences

Se reconnecter
---

Votre nom (ou pseudo) :

Votre code secret


 Nombre de membres 12 membres


Connectés :

( personne )
Compiz-fusion-plugins
quickcam
Recherche



Calendrier

W3C CSS Skins Papinou © 2007 - Licence Creative Commons
^ Haut ^