From: darksider3 Date: Mon, 3 Mar 2014 16:02:52 +0000 (+0000) Subject: Adding htaccess.sample back*shame* X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7877aebd864cbc3c0f490e687a233f9ab13eb891;p=quix0rs-gnu-social.git Adding htaccess.sample back*shame* --- diff --git a/htaccess.sample b/htaccess.sample new file mode 100644 index 0000000000..fb191cc7e8 --- /dev/null +++ b/htaccess.sample @@ -0,0 +1,27 @@ + + RewriteEngine On + + # NOTE: change this to your actual StatusNet base URL path, + # minus the domain part: + # + # http://example.com/ => / + # http://example.com/mublog/ => /mublog/ + # + RewriteBase / + #RewriteBase /mublog/ + + ## Uncomment these if having trouble with API authentication + ## when PHP is running in CGI or FastCGI mode. + # + #RewriteCond %{HTTP:Authorization} ^(.*) + #RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] + + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule (.*) index.php?p=$1 [L,QSA] + + + + Order allow,deny + +