[Linux] VirtualHost sur Ubuntu
bezourox
Messages postés
730
Date d'inscription
Statut
Membre
Dernière intervention
-
abdi -
abdi -
Bonjour,
Voila j'ai un serveur sur lequel j'héberge un site web.
Depuis hier, impossible de s'y connecter en tappant son url (www.maboite.com)
Je pense que cela vient de mon VirtualHost (j'ai fait une modif et depuis ça déconne)
Voici mon fichier contenant la déclaration des vhosts :
#NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin moi@maboite.com
ServerName www.maboite.fr
DocumentRoot /var/www/monappliweb
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/monappliwab>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</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>
</VirtualHost>
Si vous avez une idée ? Un service à relancer ? Un autre fichier de conf à modifier ?
Voila j'ai un serveur sur lequel j'héberge un site web.
Depuis hier, impossible de s'y connecter en tappant son url (www.maboite.com)
Je pense que cela vient de mon VirtualHost (j'ai fait une modif et depuis ça déconne)
Voici mon fichier contenant la déclaration des vhosts :
#NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin moi@maboite.com
ServerName www.maboite.fr
DocumentRoot /var/www/monappliweb
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/monappliwab>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</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>
</VirtualHost>
Si vous avez une idée ? Un service à relancer ? Un autre fichier de conf à modifier ?
A voir également:
- [Linux] VirtualHost sur Ubuntu
- Linux mint ou ubuntu - Guide
- Linux reader - Télécharger - Stockage
- Ubuntu 32 bits - Télécharger - Systèmes d'exploitation
- Toutou linux - Télécharger - Systèmes d'exploitation
- R-linux - Télécharger - Sauvegarde