Welcome To Snipplr


Everyone's Recent Apache Snippets Tagged url



« Prev 1 Next »
0 1072 posted 14 years ago by manuelpedrera
This line can be added to 'backend', 'frontend', 'listen' directives in the HAProxy config. It will redirect all requests for /books/mysql to /books.php?title=mysql
0 2000 posted 16 years ago by alexwilliams
In this example: *rewrite urls from domain.com to www.domain.com* This is somewhat documented elsewhere, but not very well, so here's an example on how to perform simple URL rewriting with HAProxy (instead of using mod_rewrite with apache)....
0 1346 posted 16 years ago by alexwilliams
canonical redirect at .htaccess
0 2372 posted 16 years ago by kossmoss
Great way to use mod_rewrite with friendly URLs and Form
1 1143 posted 17 years ago by luizlopes
1 1073 posted 17 years ago by burnsra
1 1426 posted 17 years ago by cyrilbatillat
1 1014 posted 17 years ago by iTony
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 1607 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 1735 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 1799 posted 17 years ago by torkil
« Prev 1 Next »