forked from anunay/Chargify-Sample-App
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapache-vhost
More file actions
25 lines (19 loc) · 756 Bytes
/
apache-vhost
File metadata and controls
25 lines (19 loc) · 756 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
<VirtualHost *:80>
SetEnv APPLICATION_ENV development
AddDefaultCharset utf-8
<Directory "{APP_PATH}/www">
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</Directory>
DocumentRoot {APP_PATH}/www
# Change chargify.dev to your domain name. We HIGHLY recommend that
# you only run this app on a local development environment. It is not
# intended to be run on the public internet. You've been warned.
ServerName chargify.dev
ErrorLog ${APACHE_LOG_ROOT}/chargify.dev/error.log
CustomLog ${APACHE_LOG_ROOT}/chargify.dev/access.log common
</VirtualHost>