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 398 posted 9 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 356 posted 10 years ago by f6design
0 288 posted 10 years ago by kbrown
1 360 posted 10 years ago by czachor
0 364 posted 10 years ago by pentago
Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
0 375 posted 10 years ago by BFTrick
Replace the IP with your IP.
1 375 posted 10 years ago by batfan
0 340 posted 10 years ago by priyankvira
I found this useful. Works as expected.
0 344 posted 10 years ago by RainyDayMedia
Rrewrite "www.domain.com -> domain.com" and viceversa
1 532 posted 10 years ago by macodev
0 347 posted 10 years ago by justinscheetz
Redirect from the root of the site to another URL.
0 315 posted 10 years ago by ToddSmithSalter
Rewrites "www.site.com/xyz" to "index.php?who=xyz"
0 251 posted 10 years ago by chopbust
0 306 posted 10 years ago by silentpro
0 275 posted 10 years ago by beneberle
Useful for WordPress installations that need more than 32M of memory
0 430 posted 10 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 377 posted 10 years ago by hairzo
0 274 posted 10 years ago by paulund
0 310 posted 10 years ago by kbrown
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 417 posted 10 years ago by shodan_uk
0 294 posted 10 years ago by manuelpedrera
1 2 3 4 5 ... 9