diff options
Diffstat (limited to 'etc/apache2/sites-available/000-default.conf')
-rw-r--r-- | etc/apache2/sites-available/000-default.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/etc/apache2/sites-available/000-default.conf b/etc/apache2/sites-available/000-default.conf new file mode 100644 index 0000000..2baa892 --- /dev/null +++ b/etc/apache2/sites-available/000-default.conf | |||
@@ -0,0 +1,41 @@ | |||
1 | <VirtualHost *:80> | ||
2 | # The ServerName directive sets the request scheme, hostname and port that | ||
3 | # the server uses to identify itself. This is used when creating | ||
4 | # redirection URLs. In the context of virtual hosts, the ServerName | ||
5 | # specifies what hostname must appear in the request's Host: header to | ||
6 | # match this virtual host. For the default virtual host (this file) this | ||
7 | # value is not decisive as it is used as a last resort host regardless. | ||
8 | # However, you must set it for any further virtual host explicitly. | ||
9 | ServerName localhost | ||
10 | |||
11 | ScriptAlias /fcgi-bin/ "/var/www/fcgi-bin/" | ||
12 | <Directory "/var/www/html"> | ||
13 | AllowOverride All | ||
14 | </Directory> | ||
15 | |||
16 | <Directory "/var/www/fcgi-bin"> | ||
17 | AllowOverride All | ||
18 | Options FollowSymLinks | ||
19 | AddHandler fcgid-script .fcgi | ||
20 | </Directory> | ||
21 | |||
22 | ServerAdmin webmaster@localhost | ||
23 | DocumentRoot /var/www/html | ||
24 | |||
25 | # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, | ||
26 | # error, crit, alert, emerg. | ||
27 | # It is also possible to configure the loglevel for particular | ||
28 | # modules, e.g. | ||
29 | #LogLevel info ssl:warn | ||
30 | |||
31 | ErrorLog ${APACHE_LOG_DIR}/error.log | ||
32 | CustomLog ${APACHE_LOG_DIR}/access.log combined | ||
33 | |||
34 | # For most configuration files from conf-available/, which are | ||
35 | # enabled or disabled at a global level, it is possible to | ||
36 | # include a line for only one particular virtual host. For example the | ||
37 | # following line enables the CGI configuration for this host only | ||
38 | # after it has been globally disabled with "a2disconf". | ||
39 | #Include conf-available/serve-cgi-bin.conf | ||
40 | |||
41 | </VirtualHost> | ||