]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Adding htaccess.sample back*shame*
authordarksider3 <leon@darksider3.de>
Mon, 3 Mar 2014 16:02:52 +0000 (16:02 +0000)
committerdarksider3 <leon@darksider3.de>
Mon, 3 Mar 2014 16:02:52 +0000 (16:02 +0000)
htaccess.sample [new file with mode: 0644]

diff --git a/htaccess.sample b/htaccess.sample
new file mode 100644 (file)
index 0000000..fb191cc
--- /dev/null
@@ -0,0 +1,27 @@
+<IfModule mod_rewrite.c>
+  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]
+</IfModule>
+
+<FilesMatch "\.(ini)">
+  Order allow,deny
+</FilesMatch>
+