-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapache.sample
More file actions
31 lines (28 loc) · 812 Bytes
/
apache.sample
File metadata and controls
31 lines (28 loc) · 812 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
<VirtualHost 127.0.0.1:8080>
DocumentRoot /home/[user]/www
ServerAdmin admin@[domain]
ServerName [domain]
ServerAlias www.[domain]
ErrorLog /home/[user]/logs/apache_error.log
CustomLog /home/[user]/logs/apache_access.log combined
<Directory />
#Order Deny,Allow
#Deny from all
Options -ExecCGI -Indexes -Includes +FollowSymLinks
AllowOverride All
<Limit GET POST>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
AssignUserId www-data [user]
php_admin_value open_basedir "/home/[user]/:."
php_admin_value upload_tmp_dir "/home/[user]/tmp"
php_admin_value session.save_path "/home/[user]/tmp"
php_admin_value mbstring.internal_encoding "UTF-8"
php_admin_value mbstring.func_overload "2"
</VirtualHost>