beneberle


Member since 06/18/2009

4 snippets

4143 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

beneberle's Recent Apache Snippets



« Prev 1 Next »
<p>Method 1</p> <p>The -c directive creates a file .htpass in the directory somepath/outside/of/root/ containing a username user1. The -b directive means you must supply the password password1 at the command line when running the command - not rec...
3 647 posted 13 years ago by beneberle
Put this in an .htaccess file to protect the directory it is in and anything below it. This requires that a file named .passwdfile exists in the directory \\\"/full/path/to/\\\" and contains at least one username/password combination.\\r\\n\\r\\nUse...
2 511 posted 13 years ago by beneberle
This is good for ensuring your domain is always either accessed with or without the www, which is important for SEO. It is also good if you have multiple domains that should resolve to the same site, and can redirect all requests to the main domain.
2 594 posted 13 years ago by beneberle
« Prev 1 Next »