-
Notifications
You must be signed in to change notification settings - Fork 1
/
apache2.conf
executable file
·30 lines (27 loc) · 1.14 KB
/
apache2.conf
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
<VirtualHost *:80>
ServerName caldavclientprototype
DocumentRoot /Users/ronan/Workspace/Apps/caldavclientprototype/web
<Directory /Users/ronan/Workspace/Apps/caldavclientprototype/web>
Options FollowSymLinks
Options All
AllowOverride All
Require all granted
#Order allow,deny
#Allow from all
</Directory>
SetEnvIf Request_URI "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|txt|cur)$" dontlog
SetEnvIf Request_URI "^_" dontlog
SetEnvIf Request_URI "^/_" dontlog
LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{cookie}i\" test" combined_cookie_vhost
CustomLog /var/log/apache2/access.caldavclientprototype.log combined_cookie_vhost env=!dontlog
ErrorLog /var/log/apache2/error.caldavclientprototype.log
# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
#LogLevel debug
#php_flag apc.cache_by_default Off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/index\.php/(.*) /app.php/$1 [QSA,L]
</IfModule>
</VirtualHost>