Problem is that, now that I want to install the website in the https mode, I am not able to see the install page. When I enter https://somewhere.com, I get
Code: Select all
Not Found
The requested URL /install was not found on this server.
Code: Select all
[root@localhost snadmin]# ls -l /var/log/httpd/
total 2268
-rw-r--r--. 1 root root 560427 Sep 4 17:02 access_log
-rw-r--r--. 1 root root 43370 Sep 2 03:00 access_log-20180902
-rw-r--r--. 1 root root 1666514 Sep 4 17:36 error_log
-rw-r--r--. 1 root root 16926 Sep 2 03:27 error_log-20180902
-rw-r--r--. 1 root root 5481 Sep 4 17:38 ssl_access_log
-rw-r--r--. 1 root root 260 Sep 2 01:31 ssl_access_log-20180902
-rw-r--r--. 1 root root 526 Sep 4 17:38 ssl_error_log
-rw-r--r--. 1 root root 7267 Sep 4 17:38 ssl_request_log
-rw-r--r--. 1 root root 363 Sep 2 01:31 ssl_request_log-20180902
[root@localhost snadmin]# ls -l /var/log/httpd/
total 2268
-rw-r--r--. 1 root root 560427 Sep 4 17:02 access_log
-rw-r--r--. 1 root root 43370 Sep 2 03:00 access_log-20180902
-rw-r--r--. 1 root root 1666514 Sep 4 17:36 error_log
-rw-r--r--. 1 root root 16926 Sep 2 03:27 error_log-20180902
-rw-r--r--. 1 root root 5624 Sep 4 17:42 ssl_access_log
-rw-r--r--. 1 root root 260 Sep 2 01:31 ssl_access_log-20180902
-rw-r--r--. 1 root root 526 Sep 4 17:38 ssl_error_log
-rw-r--r--. 1 root root 7466 Sep 4 17:42 ssl_request_log
-rw-r--r--. 1 root root 363 Sep 2 01:31 ssl_request_log-20180902
ssl_access_log
Code: Select all
- - [04/Sep/2018:17:44:43 +0430] "GET / HTTP/1.1" 301 -
- - [04/Sep/2018:17:44:43 +0430] "GET /install HTTP/1.1" 404 205
Code: Select all
[04/Sep/2018:17:45:36 +0430] TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET / HTTP/1.1" -
[04/Sep/2018:17:45:36 +0430] TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 "GET /install HTTP/1.1" 205
I have to say, that I have defined a virtualhost in sites-available/ as below
Code: Select all
[root@localhost html]# cat /etc/httpd/sites-available/moto.conf
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /home/snadmin/certi/certificate-standard_wildcard.somewhere.crt
SSLCertificateKeyFile /home/snadmin/certi/certificate-standard_wildcard.somewhere.key
SSLCertificateChainFile /home/snadmin/certi/intermediate.crt
<Directory /var/www/html/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
DocumentRoot /var/www/html/
ServerName somewhere.com
</VirtualHost>
#<VirtualHost *:80>
# ServerAdmin admin@yourdomain.com
# DocumentRoot /var/www/html/
# ServerName your-domain.com
# ServerAlias www.your-domain.com
# <Directory /var/www/html/>
# Options FollowSymLinks
# AllowOverride All
# Order allow,deny
# allow from all
# Require all granted
# </Directory>
#</VirtualHost>