Supprimer un message
Altar
Voici un petit exemple d'un site hébergé, chez moi. J'espère que ça peut t'aider.
<VirtualHost *:80>
ServerAdmin webmaster@localhost #Email de la personne de contact pour le site#
DocumentRoot /home/bshake/www/ #racine du site web#
ServerName www.bshake.com #domaine#
<Directory /home/bshake/www/> #droit d'accès au repertoire#
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /home/bshake/cgi-bin/ #création d'un répertoire pour les scripts cgi#
<Directory "/home/bshake/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn #niveau de debug#
CustomLog /home/bshake/raw-log/access.log combined #log d'acces au domaine#
ServerSignature Off #à mettre en global mais trop la femme :)#
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost #Email de la personne de contact pour le site#
DocumentRoot /home/bshake/www/ #racine du site web#
ServerName www.bshake.com #domaine#
<Directory /home/bshake/www/> #droit d'accès au repertoire#
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /home/bshake/cgi-bin/ #création d'un répertoire pour les scripts cgi#
<Directory "/home/bshake/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn #niveau de debug#
CustomLog /home/bshake/raw-log/access.log combined #log d'acces au domaine#
ServerSignature Off #à mettre en global mais trop la femme :)#
</VirtualHost>