-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapache-vhost.example
More file actions
42 lines (29 loc) · 915 Bytes
/
apache-vhost.example
File metadata and controls
42 lines (29 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<VirtualHost hostname>
SSLEngine off
ServerName hostname
ServerAdmin webmaster@localhost
DocumentRoot /path/to/pyrobox/html/pages
ServerRoot /path/to/pyrobox/html/pages
FastCgiServer /path/to/pyrobox/config.fcgi
#FastCgiExternalServer /path/to/pyrobox/config.fcgi -host localhost:4545
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /path/to/pyrobox/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Alias /config/ /path/to/pyrobox/config.fcgi
Alias /js /path/to/pyrobox/html/js/
Alias /css /path/to/pyrobox/html/css/
Alias /theme /path/to/pyrobox/html/theme/
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
</VirtualHost>