mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 02:30:51 +00:00
https redirect for wiki
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
RewriteEngine On
|
||||
# Define the rewrite base.
|
||||
RewriteBase /wiki
|
||||
|
||||
# Auto redirect to https.
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
|
||||
|
||||
# Send requests without parameters to pmwiki.php.
|
||||
RewriteRule ^$ pmwiki.php [L]
|
||||
# Send requests for index.php to pmwiki.php.
|
||||
|
||||
Reference in New Issue
Block a user