Welcome To Snipplr
Everyone's Recent Other Snippets Tagged htaccess
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Try to run Codeigniter in a subfolder of a Wordpress installation and want to remove index.php for clean URLs?
Put this code in a .htaccess file in your codeigniter directory ("cidir" in this example).
0
1704
posted 11 years ago by telltec
Add this piece of code in your .htaccess file located in wordpress root directory
0
553
posted 13 years ago by kirichev
See here for Amazon EC2 range
https://forums.aws.amazon.com/ann.jspa?annID=877
0
744
posted 13 years ago by daipratt
This will redirect all pages from one domain, to the homepage of another domain.
0
701
posted 13 years ago by daipratt
Apache can be used to ban undesirable people and bots from your website. With this code, we’re telling Apache that everyone is allowed to visit our blog except the person with the IP addresses
1
592
posted 13 years ago by mariusscheel
Add and remove www to urls through .htaccess with mod_rewrite
1
838
posted 13 years ago by ginoplusio
Redirects all calls to mp3 files to a proxy (usefull fr example to track stats on db) the +FollowSymlinks should be already setted, but if it isnt' this setting with use it. FollowSymlinks must be on to use the rewrite engine.
0
1108
posted 13 years ago by ginoplusio
« Prev 1 Next »