- Angu
- Messaggi : 48
Data di iscrizione : 14.04.20
Età : 51
Apache 2 - file di configurazione
Ven Ott 09, 2020 7:05 pm
File di configurazione su AnguSrv:
- Codice:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName anguhome.ddns.net
ServerAlias angusrv
ServerAdmin angungu@gmail.com
DocumentRoot /var/www/angusmf
LimitRequestBody 300000000
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/anguhome_error.log
CustomLog ${APACHE_LOG_DIR}/anguhome_access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
#SSLEngine On
#SSLCertificateFile /etc/apache2/ssl/apache.crt
#SSLCertificateKeyFile /etc/apache2/ssl/apache.key
#<Location />
# SSLRequireSSL On
# SSLVerifyClient optional
# SSLVerifyDepth 1
# SSLOptions +StdEnvVars +StrictRequire
#</Location>
Alias /anguforum /var/www/angusmf
Alias /angusmf /var/www/angusmf
<Directory /var/www/angusmf>
Options All
AllowOverride All
Order Deny,Allow
Allow from All
SSLRenegBufferSize 300000000
</Directory>
Alias /angudrupal /var/www/drupal_test
Alias /drupal_test /var/www/drupal_test
<Directory /var/www/drupal_test>
Options All
AllowOverride All
Order Deny,Allow
Allow from All
</Directory>
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.