Académique Documents
Professionnel Documents
Culture Documents
<VirtualHost *:80>
ServerAdmin webmaster@localhost
#DocumentRoot /var/www
DocumentRoot /usr/share/cacti/site/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#<Directory /var/www>
<Directory /usr/share/cacti/site/>
AllowOverride None
Order allow,deny
</Directory>
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Order allow,deny
ErrorLog ${APACHE_LOG_DIR}/error.log
# alert, emerg.
LogLevel warn
</VirtualHost>
[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using
127.0.1.1 for ServerName
. ok
root@mrtg-server:/etc/apache2/sites-available# ls
default default-ssl
<VirtualHost *:80>
ServerAdmin webmaster@localhost
#DocumentRoot /var/www
DocumentRoot /usr/share/cacti/site/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#<Directory /var/www>
<Directory /usr/share/cacti/site/>
AllowOverride None
Order allow,deny
</Directory>
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Order allow,deny
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
root@mrtg-server:/etc/apache2/sites-available#