Welcome To Snipplr
Everyone's Recent Apache Snippets Tagged htaccess
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Useful for WordPress installations that need more than 32M of memory
0
793
posted 12 years ago by Huskie
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0
803
posted 12 years ago by shodan_uk
also requires an .htpasswd file to be created in a secure directory
0
629
posted 12 years ago by ropehead
This rule allows you to embed fonts cross domain. Especially good when you are serving your fonts from a CDN.
0
850
posted 12 years ago by demwunz
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0
724
posted 12 years ago by benjaminpearson
Place directly below 'RewriteEngine On' to ensure that no other redirects interfere with it.
0
612
posted 13 years ago by batfan
Key for code below:
querystring = just the query string. (e.g. url=page)
index = the page that the query string is appended to (e.g. index.php)
domain.com = the domain and page you want to rewrite to
0
667
posted 13 years ago by nielsenrc
When using Joomla, allows you to redirect index.php to the root ( to prevent duplicate content ), without affecting the Joomla admin.
0
540
posted 13 years ago by batfan