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 399 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 358 posted 10 years ago by f6design
0 291 posted 10 years ago by kbrown
1 361 posted 10 years ago by czachor
0 365 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 376 posted 10 years ago by BFTrick
Replace the IP with your IP.
1 375 posted 10 years ago by batfan
0 342 posted 10 years ago by priyankvira
I found this useful. Works as expected.
0 345 posted 10 years ago by RainyDayMedia
Rrewrite "www.domain.com -> domain.com" and viceversa
1 533 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 317 posted 10 years ago by ToddSmithSalter
Rewrites "www.site.com/xyz" to "index.php?who=xyz"
0 252 posted 10 years ago by chopbust
0 307 posted 10 years ago by silentpro
0 277 posted 10 years ago by beneberle
Useful for WordPress installations that need more than 32M of memory
0 431 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 378 posted 10 years ago by hairzo
0 274 posted 10 years ago by paulund
0 311 posted 10 years ago by kbrown
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 420 posted 10 years ago by shodan_uk
0 295 posted 10 years ago by manuelpedrera
1 2 3 4 5 ... 9