Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1792

The requested URL was not found on this server after SSL. Apache. WordPress. Self host

$
0
0

A few days ago I have installed SSL certificate and move to https. After this no one page (except homepage) was not abble to open. Each time I get an error The requested URL was not found on this server. Apache/2.4.18.After I pick in Settings -> Permalincs -> General -> Simple all started to work. But now I cant change permalinks from simple to something else because of error. Using plugin Really Simple SSL.

.htaccess (644 permission but I've tryed 777)

<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{HTTPS} !=on [NC]RewriteRule ^(.*)$ https://%{HTTP_HOST}%/$1 [R=301,L]</IfModule>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]

================================

apache2.conf

<Directory /var/www/>    Options Indexes FollowSymLinks    AllowOverride All    Require all granted</Directory>

===============

mod_rewrite activated/etc/apache2/sites-available/000-default.conf

=========================

<VirtualHost *:80><Directory /var/www/>        Options Indexes FollowSymLinks MultiViews        AllowOverride All        Require all granted</Directory>    . . .</VirtualHost>

Viewing all articles
Browse latest Browse all 1792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>