Welcome To Snipplr


Everyone's Recent Snippets Tagged htaccess



1 2 3 4 5 ... 9
Rewrites url to appear like the additional domain appears independently hosted, however, only appropriate for a temporary web page as other pages throw an error.
0 3685 posted 14 years ago by hotdiggity
This snippet will stop people from snooping in your Apache directories. This is useful if you have directories containing files, but no index HTML/PHP document.
1 3868 posted 14 years ago by f6design
0 1582 posted 14 years ago by kbrown
1 3816 posted 14 years ago by czachor
0 3889 posted 14 years ago by pentago
Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
0 1929 posted 14 years ago by BFTrick
Replace the IP with your IP.
1 2122 posted 14 years ago by batfan
0 3754 posted 14 years ago by priyankvira
I found this useful. Works as expected.
0 1705 posted 14 years ago by RainyDayMedia
Rrewrite "www.domain.com -> domain.com" and viceversa
1 3688 posted 14 years ago by macodev
0 2767 posted 14 years ago by justinscheetz
Redirect from the root of the site to another URL.
0 1688 posted 14 years ago by ToddSmithSalter
Rewrites "www.site.com/xyz" to "index.php?who=xyz"
0 1534 posted 14 years ago by chopbust
0 1703 posted 14 years ago by silentpro
0 1562 posted 14 years ago by beneberle
Useful for WordPress installations that need more than 32M of memory
0 2026 posted 14 years ago by Huskie
Created by me as a quick and secure way of creating a username and password for basic authentication via a .htpasswd file on an Apache server. A live demo is available at http://www.chrishair.co.uk/supgha/ Thanks.
0 1952 posted 14 years ago by hairzo
0 1729 posted 15 years ago by batfan
0 1390 posted 15 years ago by paulund
0 1605 posted 15 years ago by kbrown
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 3008 posted 15 years ago by shodan_uk
0 1526 posted 15 years ago by manuelpedrera
1 2 3 4 5 ... 9