Welcome To Snipplr


Everyone's Recent Apache Snippets



1 ... 4 5 6 7 8 9
script will now be treated as a PHP file. Similarly, x-httpd-cgi for CGI files, etc.
2 1354 posted 15 years ago by blpgirl
Removes trailing slashes from URLs, forces all urls to index.php
0 1341 posted 15 years ago by mattkenefick
1 1196 posted 15 years ago by level09
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 1487 posted 16 years ago by jink
Before taking a site "live", I password protect it except the robots.txt for search engines and custom Error pages. You can adapt this to your own use and add other pages in the FilesMatch directive.
0 1395 posted 16 years ago by abbey
To force the user to download certain filetypes in the current directory.
0 2756 posted 16 years ago by darylclaudio
http://pcextreme.nl is one of the Best hosters for Drupal in Netherlands. But they require one change to the .htaccess in order to run.
0 1241 posted 16 years ago by berkes
If you want to force someone to download a file instead of opening it in their browser, use this code.
1 3785 posted 16 years ago by jrobinsonc
Hacer una redireccion permanente
0 1211 posted 16 years ago by jrobinsonc
0 1362 posted 16 years ago by jrobinsonc
Esto setea todas las opciones menos *Indexes* que es la que permite que los ficheros y directorios sean mostrados cuando no hay un *index.html* en un directorio.
0 1164 posted 16 years ago by jrobinsonc
1 1570 posted 16 years ago by blaz
0 1257 posted 16 years ago by wilburhimself
Redirect to a subfolder (blog) in a search engine friendly way using .htaccess. Change “YourDomain.com” to your domain name.
1 1758 posted 16 years ago by math89
Instructions for enabling multiple virtual hosts on Mac OSX. Based on default Apple Apache install. If you don't want to be manually changing these files, checkout the very slick GUI application - VirtualHostX (http://clickontyler.com/virtualhostx/)
3 1848 posted 16 years ago by benjaminpearson
ready for .htaccess, creates 302 temp redirect
0 1441 posted 16 years ago by nate63179
0 1130 posted 16 years ago by twobon
Tested with [ipotpal.bgurl.org](http://ipotpal.bgurl.org/ "ипотпал")
0 1293 posted 16 years ago by jommy
1 ... 4 5 6 7 8 9