-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvhost.conf
More file actions
27 lines (23 loc) · 903 Bytes
/
vhost.conf
File metadata and controls
27 lines (23 loc) · 903 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
<VirtualHost *:8080>
DocumentRoot {PROJECT PATH}/web
ServerName {PROJECT NAME}.local.blee.ch
RewriteCond {PROJECT PATH}/web%{REQUEST_FILENAME} -f
RewriteRule ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9071{PROJECT PATH}/web/$1 [P,QSA,L]
<Directory {PROJECT PATH}/web>
Options -Indexes +FollowSymLinks -MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:8443>
DocumentRoot {PROJECT PATH}/web
ServerName {PROJECT NAME}.local.blee.ch
RewriteCond {PROJECT PATH}/web%{REQUEST_FILENAME} -f
RewriteRule ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9071{PROJECT PATH}/web/$1 [P,QSA,L]
Include "/usr/local/etc/httpd/ssl/ssl-shared-cert.inc"
<Directory {PROJECT PATH}/web>
Options -Indexes +FollowSymLinks -MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>