Welcome To Snipplr


Everyone's Recent Snippets Tagged apache



you'll need this .htaccess file also RewriteEngine On RewriteBase / RewriteRule .* - [E=INFO_API_VERSION:%{API_VERSION},NE] RewriteRule .* - [E=INFO_AUTH_TYPE:%{AUTH_TYPE},NE] RewriteRule .* - [E=INFO_CONTENT_LENGTH:%{CONTENT_LENGTH},NE] Rewrit...
2 2119 posted 16 years ago by jessecary
1 1396 posted 16 years ago by level09
0 1725 posted 16 years ago by dacoman
0 1757 posted 16 years ago by davidrinnan
Etag Removal: http://developer.yahoo.com/performance/rules.html#etags Font Compression: http://www.phpied.com/gzip-your-font-face-files/ Compression: http://developer.yahoo.com/performance/rules.html#gzip
2 3961 posted 16 years ago by jink
Use this rewrite rule to enable permalinks on a host. Used when Wordpress doesn't write the conditions correctly (like on a host I am testing with).
0 1728 posted 16 years ago by jink
1 1237 posted 16 years ago by BrunoMonteiro
0 3846 posted 16 years ago by wumbrath
0 1373 posted 16 years ago by kerpunk
To force the user to download certain filetypes in the current directory.
0 3011 posted 16 years ago by darylclaudio
Permanente / Temporäre Weiterleitung per htaccess
0 1565 posted 16 years ago by Michael01
Estou considerando que você irá alterar [DOMINIO] para o nome correto de seu certificado. Em servidores sem cpanel logo, após a instalação convencional do SSL é requerido senha sempre que o apache é iniciado. Para contornar isso:
0 1575 posted 16 years ago by gpupo
I written this code to parse apache log in common log formats. It may have problems with irresponsible formatting like non-concluded into quotes request line. I welcome any modifications to my snippet because it was written if short time and this is...
0 1772 posted 16 years ago by mpontus
ready for .htaccess, creates 302 temp redirect
0 1663 posted 16 years ago by nate63179
Tested with [ipotpal.bgurl.org](http://ipotpal.bgurl.org/ "ипотпал")
0 1491 posted 16 years ago by jommy
This snippet shows how to get access to the underlying log4j logger when using apache commons logging.
0 1455 posted 16 years ago by ff1959
1 1560 posted 16 years ago by yuraji
0 1452 posted 16 years ago by paulbooker
0 1381 posted 16 years ago by danshields
0 1387 posted 16 years ago by glends
Great little bit of code for if you are rewriting URLs but then want the old GET URLs to rewrite to their rewritten URLs (phew). Good for telling Google where the new pages are with a 301 rather than getting both indexed. In this example, i had a...
0 1541 posted 16 years ago by roflman79
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 2561 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 1863 posted 16 years ago by alexwilliams