Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DirectoryIndex index.php
- <IfModule mod_php5.c>
- php_value max_execution_time 18000
- 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
- </IfModule>
- <IfModule mod_security.c>
- SecFilterEngine Off
- SecFilterScanPOST Off
- </IfModule>
- <IfModule mod_deflate.c>
- SetOutputFilter DEFLATE
- AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
- Header append Vary User-Agent env=!dont-vary
- </IfModule>
- <IfModule mod_ssl.c>
- SSLOptions StdEnvVars
- </IfModule>
- <IfModule mod_rewrite.c>
- Options +FollowSymLinks
- RewriteEngine On
- # Redirect from non-www to www
- RewriteCond %{HTTP_HOST} ^readyteddygo.co.uk$ [NC]
- RewriteRule ^(.*)$ http://www.readyteddygo.co.uk/$1 [R=301,L]
- RewriteBase /
- RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
- RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-l
- RewriteRule .* index.php [L]
- </IfModule>
- AddDefaultCharset Off
- <IfModule mod_expires.c>
- ExpiresDefault "access plus 1 year"
- </IfModule>
- # Below commented out as it breaks the country IP block for India
- # Order allow,deny
- # Allow from all
- #RedirectMatch 301 /gallery/p http://www.readyteddygo.co.uk/404/
- <IfModule mod_expires.c>
- ExpiresActive On
- ExpiresByType image/jpg "access 1 year"
- ExpiresByType image/jpeg "access 1 year"
- ExpiresByType image/gif "access 1 year"
- ExpiresByType image/png "access 1 year"
- ExpiresByType text/css "access 1 month"
- ExpiresByType application/pdf "access 1 month"
- ExpiresByType text/x-javascript "access 1 month"
- ExpiresByType application/x-shockwave-flash "access 1 month"
- ExpiresByType image/x-icon "access 1 year"
- ExpiresDefault "access 2 days"
- </IfModule>
- Options +FollowSymLinks
- RewriteCond %{THE_REQUEST} ^.*/index.php
- RewriteRule ^(.*)index.php$ http://www.readyteddygo.co.uk/$1 [R=301,L]
- Options +FollowSymLinks
- RewriteCond %{THE_REQUEST} ^.*/home
- RewriteRule ^(.*)index.php$ http://www.readyteddygo.co.uk/$1 [R=301,L]
- Options +FollowSymLinks
- RewriteCond %{THE_REQUEST} ^.*/gallery/gallery.html
- RewriteRule ^(.*)index.php$ http://www.readyteddygo.co.uk/gallery/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement