mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-06-18 14:50:59 +00:00
https redirect for wiki
This commit is contained in:
@@ -2,6 +2,11 @@
|
|||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
# Define the rewrite base.
|
# Define the rewrite base.
|
||||||
RewriteBase /wiki
|
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.
|
# Send requests without parameters to pmwiki.php.
|
||||||
RewriteRule ^$ pmwiki.php [L]
|
RewriteRule ^$ pmwiki.php [L]
|
||||||
# Send requests for index.php to pmwiki.php.
|
# Send requests for index.php to pmwiki.php.
|
||||||
|
|||||||
Reference in New Issue
Block a user