mirror of
https://github.com/kennethreitz-archive/wordpress-skeleton.git
synced 2026-06-05 23:50:19 +00:00
23 lines
611 B
ApacheConf
Executable File
23 lines
611 B
ApacheConf
Executable File
# clean urls
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteBase /blog/
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . /blog/index.php [L]
|
|
</IfModule>
|
|
|
|
# server-side compression
|
|
<IfModule mod_deflate.c>
|
|
SetOutputFilter DEFLATE
|
|
# file-types indicated will not be compressed
|
|
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|rar|zip|pdf)$ no-gzip dont-vary
|
|
<IfModule mod_headers.c>
|
|
Header append Vary User-Agent
|
|
</IfModule>
|
|
</IfModule>
|
|
|
|
# fix file uploads
|
|
php_value upload_max_filesize 250M
|
|
php_value post_max_size 250M
|
|
php_value memory_limit 170M |