Not logged in. · Lost password · Register

All posts by karnhack (3)

topic: Dokuwiki on https  in the forum: General Help and Support Server Setup
Avatar
karnhack #1
Member since Apr 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
Thanks for your helps... i have solved with this code:
# BEGIN HTTPS
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTP_HOST} ^www.
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
# END HTTPS

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
topic: Dokuwiki on https  in the forum: General Help and Support Server Setup
Avatar
karnhack #2
Member since Apr 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 60518
to be replaced entirely by that of wordpress?
topic: Dokuwiki on https  in the forum: General Help and Support Server Setup
Avatar
karnhack #3
Member since Apr 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Dokuwiki on https
Hi,
my website karnhack.com works on wordpress. In a subdirectory I have the dokuwiki karnhack.com/wiki.
The problem is that dokuwiki is not under https, how can I force this? I tried to edit the file .htaccess but wordpress stops working...
My .htaccess contains this code necessary for wordpress operation ... how can I add https without doing damage? :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Thanks

Gianluca
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-20, 01:18:35 (UTC +01:00)