Welcome Guest, Not a member yet? Register   Sign In
Ultimate Guide to .htaccess via NetTuts
#1

[eluser]Dam1an[/eluser]
Being something that comes up again and again on these forums, I thought some of you might find this article interesting.
I know its not about CI .htaccess files, but a couple of interesting things in there none the less
#2

[eluser]Tim Reynolds[/eluser]
When ever i come around to picking up the .htaccess file i get lost. I use them so infrequently i can never remember any of the basics.

Thanks
Tim
#3

[eluser]Thorpe Obazee[/eluser]
Thanks. bookmarked Wink
#4

[eluser]TheFuzzy0ne[/eluser]
I bought a book on the subject, and I still don't get it... Thanks for sharing, though. It looks like it might be better than the book I paid for.

Just one word of warning, however. Whilst just about every modern day browser supports compression, some older browsers don't, and they will only see a blank page. I added this to my htaccess file to help with this:

Code:
<IfModule mod_deflate.c>
        SetOutputFilter DEFLATE
        SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
        SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
        SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
        BrowserMatch ^Mozilla/4 gzip-only-text/html
        BrowserMatch ^Mozilla/4\.0[678] no-gzip
        BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>




Theme © iAndrew 2016 - Forum software by © MyBB