Skip to content
Newer
Older
100644 34 lines (27 sloc) 1.2 KB
6b4881b @rthrash [#MODX-724] Reference wiki page for fix for multi-server/cloud deploy…
rthrash authored May 13, 2009
1 # For full documentation and other suggested options, please see
2 # http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
3 # including for unexpected logouts in multi-server/cloud environments
06e11a1 @garryn merge -r 5996:6052 http://svn.modxcms.com/svn/tattoo/tattoo/branches/…
garryn authored Nov 3, 2009
4 # and especially for the first three commented out rules
5
6 #php_flag register_globals Off
7 #AddDefaultCharset utf-8
8 #php_value date.timezone Europe/Moscow
632d3f4 @rthrash Technology Preview release parity... our starting point!
rthrash authored Apr 21, 2005
9
6b4881b @rthrash [#MODX-724] Reference wiki page for fix for multi-server/cloud deploy…
rthrash authored May 13, 2009
10 Options +FollowSymlinks
74b1313 @rthrash More detailed info. Remove legacy information.
rthrash authored May 7, 2005
11 RewriteEngine On
6a9b49f @rthrash New base ht.access file to make it slightly easier to understand and …
rthrash authored Sep 18, 2006
12 RewriteBase /
e6e213e @opengeek * merged from branches/095dev revisions 2261:2358
opengeek authored Feb 18, 2007
13
fb2138f @opengeek * [#MODX-185] Improvements to installation with errors when SET CHARA…
opengeek authored Oct 30, 2008
14 # Fix Apache internal dummy connections from breaking [(site_url)] cache
15 RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
16 RewriteRule .* - [F,L]
17
6b4881b @rthrash [#MODX-724] Reference wiki page for fix for multi-server/cloud deploy…
rthrash authored May 13, 2009
18 # Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
cb18f7e @rthrash Slight tweak to exclude /assets and /manager by default from MODx rew…
rthrash authored May 27, 2009
19 #RewriteCond %{HTTP_HOST} .
06e11a1 @garryn merge -r 5996:6052 http://svn.modxcms.com/svn/tattoo/tattoo/branches/…
garryn authored Nov 3, 2009
20 #RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
21 #RewriteRule (.*) http://www.example.com/$1 [R=301,L]
cb18f7e @rthrash Slight tweak to exclude /assets and /manager by default from MODx rew…
rthrash authored May 27, 2009
22
a7d7df8 @opengeek - 1.0.3 release merge (part 2)
opengeek authored Apr 2, 2010
23 # Exclude /assets and /manager directories and images from rewrite rules
24 RewriteRule ^(manager|assets)/*$ - [L]
25 RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
e6e213e @opengeek * merged from branches/095dev revisions 2261:2358
opengeek authored Feb 18, 2007
26
6b4881b @rthrash [#MODX-724] Reference wiki page for fix for multi-server/cloud deploy…
rthrash authored May 13, 2009
27 # For Friendly URLs
632d3f4 @rthrash Technology Preview release parity... our starting point!
rthrash authored Apr 21, 2005
28 RewriteCond %{REQUEST_FILENAME} !-f
29 RewriteCond %{REQUEST_FILENAME} !-d
6a9b49f @rthrash New base ht.access file to make it slightly easier to understand and …
rthrash authored Sep 18, 2006
30 RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
632d3f4 @rthrash Technology Preview release parity... our starting point!
rthrash authored Apr 21, 2005
31
6b4881b @rthrash [#MODX-724] Reference wiki page for fix for multi-server/cloud deploy…
rthrash authored May 13, 2009
32 # Reduce server overhead by enabling output compression if supported.
27410fa @rthrash Add back zlib compression options to ht.access template file. Comment…
rthrash authored Oct 16, 2006
33 #php_flag zlib.output_compression On
6b4881b @rthrash [#MODX-724] Reference wiki page for fix for multi-server/cloud deploy…
rthrash authored May 13, 2009
34 #php_value zlib.output_compression_level 5
Something went wrong with that request. Please try again.