Welcome To Snipplr


Everyone's Recent Snippets Tagged htaccess



1 ... 5 6 7 8 9 Next »
write this in your .htaccess links are going to look like this yourpage.de/yourVariableValue1/yourVariableValue2/ [NC] will remove the case sensitivity of your static words like "admin" its going to work, even if you type yourpage.de/a...
2 351 posted 13 years ago by antpaw
Magic Quotes is a great feature of PHP but sometimes it can just get annoying. It's simple enough to turn it off at the .ini and restart apache but here's a quick .htaccess workaround
2 469 posted 13 years ago by aristoworks
This is good to add to folders which are chmod to 777.
1 324 posted 13 years ago by luizlopes
3 431 posted 13 years ago by johnloy
1 312 posted 13 years ago by bpj1966
0 256 posted 13 years ago by bpj1966
0 265 posted 13 years ago by bpj1966
4 356 posted 13 years ago by iTony
Rediccionamiento Apache desde una IP determinada y pidiendo una página concreta
0 312 posted 13 years ago by estebant
Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.
0 286 posted 13 years ago by estebant
2 350 posted 13 years ago by iTony
0 311 posted 13 years ago by wbowers
Add this to your .htaccess file in Apache:
7 482 posted 13 years ago by Abe
list the exceptions where you don't want to replace in the rewrite rules before the one that matches the underscore, and finish them with [L], otherwise they'll get replaced too. [N] means rerun the whole replacing stuff once the line matched... c...
0 684 posted 14 years ago by eszpee
Forward users from your alias domains to your main domain automatically. Nice to have if your site has got one or more aliases. Notice that all the domain aliases have [NC,OR] at the end of the line, while the last alias and_so_on.com just has [NC]....
6 405 posted 14 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force removal of www in urls. Good for letting search engine spiders in the right door... Insert the code in your .htaccess-file in your website's root folder.
3 463 posted 14 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force users to use www in urls. Good for letting search engine spiders in the right door... Insert the code in your .htaccess-file in your website's root folder.
5 502 posted 14 years ago by torkil
You can combine them with this: http://snipplr.com/view/4848/underscore-strings/
155 4533 posted 14 years ago by Abe
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2 752 posted 14 years ago by jonhenshaw
Build URLs for subcategories, e.g. 'cat-child-support.html' becomes '/family-law/child-support/'
0 351 posted 14 years ago by ches
0 372 posted 15 years ago by whitetiger
0 449 posted 15 years ago by whitetiger
1 ... 5 6 7 8 9 Next »