Welcome To Snipplr


Everyone's Recent Apache Snippets



1 ... 5 6 7 8 9 Next »
4 1342 posted 17 years ago by iTony
Rediccionamiento Apache desde una IP determinada y pidiendo una página concreta
0 1024 posted 17 years ago by estebant
Redirecciona una petición HTTP de Apache a una URL, salvo los que tenga una IP determinada.
0 1027 posted 17 years ago by estebant
1 962 posted 17 years ago by iTony
2 1202 posted 17 years ago by iTony
7 1445 posted 17 years ago by iTony
ExpiresActive tells the apache2 to use the expires module. ExpiresDefault specifies the expire date for all mime-types in this directory. ExpiresByType specifies the expires date for the specified mime-type in this directory.
2 1266 posted 17 years ago by CharlyBr
After installing WordPress an .htaccess file with the following code needs to be added to the wp-includes folder.
1 975 posted 17 years ago by m00min
Add this to an .htaccess file.
1 1042 posted 17 years ago by m00min
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 1983 posted 17 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 1418 posted 17 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 1524 posted 17 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 1594 posted 17 years ago by torkil
0 1409 posted 17 years ago by d3f0
1 ... 5 6 7 8 9 Next »