Welcome To Snipplr
Everyone's Recent Snippets Tagged htaccess
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Rediccionamiento Apache desde una IP determinada y pidiendo una página concreta
0
716
posted 16 years ago by estebant
Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.
0
669
posted 16 years ago by estebant
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
1529
posted 16 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
930
posted 16 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
966
posted 16 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
1079
posted 16 years ago by torkil
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2
1537
posted 17 years ago by jonhenshaw
Build URLs for subcategories, e.g. 'cat-child-support.html' becomes '/family-law/child-support/'
0
804
posted 17 years ago by ches