Welcome To Snipplr


Everyone's Recent Apache Snippets Tagged htaccess



Rewrites "www.site.com/xyz" to "index.php?who=xyz"
0 1075 posted 14 years ago by chopbust
Useful for WordPress installations that need more than 32M of memory
0 1588 posted 14 years ago by Huskie
0 1344 posted 14 years ago by batfan
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 2495 posted 14 years ago by shodan_uk
0 1170 posted 14 years ago by manuelpedrera
0 1148 posted 14 years ago by manuelpedrera
also requires an .htpasswd file to be created in a secure directory
0 2239 posted 14 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 1676 posted 14 years ago by demwunz
Found answer here: http://community.godaddy.com/groups/web-hosting/forum/topic/ogv-in-firefox-for-html5-video/
0 1335 posted 14 years ago by benjaminpearson
0 1189 posted 14 years ago by dan_hoerr
Site Down For Maintenance
0 1181 posted 14 years ago by macodev
Place directly below 'RewriteEngine On' to ensure that no other redirects interfere with it.
0 1235 posted 14 years ago by batfan
Some url rewriting snippets
1 1102 posted 14 years ago by marzsman
1 1471 posted 14 years ago by neoandroid
0 1172 posted 14 years ago by dato
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 1268 posted 14 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 1179 posted 14 years ago by batfan
Good .htaccess file to start with.
0 1144 posted 14 years ago by batfan
Sacado de Nettus
0 1283 posted 14 years ago by danideu
3 2660 posted 14 years ago by ohryan
0 1268 posted 14 years ago by neoandroid
0 1206 posted 14 years ago by neoandroid
1 1219 posted 14 years ago by neoandroid