Server version: Apache/2.4.53 (Rocky Linux)
Rocky Linux release 9.2 (Blue Onyx)
I am Japanese. This article is written through google translation. So the sentence may be a little unnatural.
I have a problem as the title says.
I changed the settings of httpd.conf etc., but it doesn't work.
Can anyone help me?
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
It produced this output:
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
If Certbot was also used to add the redirect from HTTP to HTTPS, it will have added a few mod_rewrite directives to the Apache HTTP virtual host configuration file consisting of a RewriteEngine , RewriteCond and RewriteRule directive.
If you comment those lines out and reload Apache, the redirect would be disabled.
I'm not sure if Certbot is capable of undoing just the redirect itself.
Passing arguments to httpd using apachectl is no longer supported.
You can only start/stop/restart httpd using this script.
To pass extra arguments to httpd, see the httpd.service(8)
man page.
Also, the execution result of "sudo apachectl -t -D DUMP_VHOSTS" replacing apachectl with httpd is as follows.
VirtualHost configuration:
*:80 is a NameVirtualHost
default server basasaba.com (/etc/httpd/conf/httpd.conf:382)
port 80 name vhost basasaba.com (/etc/httpd/conf/httpd.conf:382)
alias www.basasaba.com
port 80 name vhost sample.basasaba.com (/etc/httpd/conf/httpd.conf:391)
*:443 is a NameVirtualHost
default server ik1-133-73216.vs.sakura.ne.jp (/etc/httpd/conf.d/ssl.conf:40)
port 443 name vhost ik1-133-73216.vs.sakura.ne.jp (/etc/httpd/conf.d/ssl.conf:40)
port 443 name vhost basasaba.com (/etc/httpd/conf/httpd-le-ssl.conf:2)
port 443 namevhost sample.basasaba.com (/etc/httpd/conf/httpd-le-ssl.conf:14)