Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #AddType x-mapp-php5 .php
- #AddHandler x-mapp-php5 .php
- DirectoryIndex xyz/site/public_html/index.php
- php_value memory_limit 256M
- php_value max_execution_time 259200 php_flag display_errors off
- php_flag magic_quotes_gpc off
- php_flag session.auto_start off
- php_flag zlib.output_compression on
- php_flag suhosin.session.cryptua off
- php_flag zend.ze1_compatibility_mode Off
- SecFilterEngine Off
- SecFilterScanPOST Off
- # Insert filter on all content
- SetOutputFilter DEFLATE
- # Insert filter on selected content types only
- AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
- # Netscape 4.x has some problems...
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- # Netscape 4.06-4.08 have some more problems
- BrowserMatch ^Mozilla/4.0[678] no-gzip
- # MSIE masquerades as Netscape, but it is fine
- BrowserMatch bMSIE !no-gzip !gzip-only-text/html
- # Don't compress images
- SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
- # Make sure proxies don't deliver the wrong content
- #Header append Vary User-Agent env=!dont-vary
- SSLOptions StdEnvVars
- Options +FollowSymLinks
- RewriteEngine on
- RewriteRule ^api/rest api.php?type=rest [QSA,L]
- RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
- RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
- RewriteRule .* - [L,R=405]
- #RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
- #RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
- #RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]
- RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-l
- RewriteRule .* xyx/site/public_html/index.php [L]
- AddDefaultCharset Off
- AddDefaultCharset UTF-8
- Order allow,deny
- Allow from all
- <Files RELEASE_NOTES.txt>
- order allow,deny
- deny from all
- </Files>
- FileETag none
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement