Recent posts
#91
Apache 2.4 / Problem after Lets Encrypt cer...
Last post by ozstar - December 06, 2022, 09:39:10 PMHello,
I and quite new to all this but have installed apache in VirtualBox on ubuntu 20.04 and it has been working fine with a domain name delegated to my home IP address. All went well nd can't complain here until..
decided I need to change it to https.
Create the certificate and all went well until https would not resolve at the site like it did before with http. I couldn't change it as it auto took http to https.
I tried to port fwd 443 to make it all work but found the router Netcomm NF18 MESH said 443 was used by it and it couldn't be changed.
By this time I'm in a mess and tried many things suggested at forums, youtube and on web but nothing worked.
Now apache will not start and I'm in a mess.
Let's Encrypt let me download the pm for my certificate in case I needed it but the problem is I can't use 443.
I feel like deleting the whole shibang and starting again. New apache, new .conf files, htmls, everything.
Is that my best bet or is there a quicker way for me to get this back on the rails ?
Thank you in anticipation.
oz
This is the apache2 status..
root@zorin162-VirtualBox:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Mon 2022-12-05 14:04:57 AEDT; 24h>
Docs: https://httpd.apache.org/docs/2.4/
Process: 595 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAI>
Dec 05 14:04:54 zorin162-VirtualBox systemd[1]: Starting The Apache HTTP Server>
Dec 05 14:04:57 zorin162-VirtualBox apachectl[611]: AH00526: Syntax error on li>
Dec 05 14:04:57 zorin162-VirtualBox apachectl[611]: <Directory> directive requi>
Dec 05 14:04:57 zorin162-VirtualBox apachectl[595]: Action 'start' failed.
Dec 05 14:04:57 zorin162-VirtualBox apachectl[595]: The Apache error log may ha>
Dec 05 14:04:57 zorin162-VirtualBox systemd[1]: apache2.service: Control proces>
Dec 05 14:04:57 zorin162-VirtualBox systemd[1]: apache2.service: Failed with re>
Dec 05 14:04:57 zorin162-VirtualBox systemd[1]: Failed to start The Apache HTTP>
lines 1-14/14 (END)
I and quite new to all this but have installed apache in VirtualBox on ubuntu 20.04 and it has been working fine with a domain name delegated to my home IP address. All went well nd can't complain here until..
decided I need to change it to https.
Create the certificate and all went well until https would not resolve at the site like it did before with http. I couldn't change it as it auto took http to https.
I tried to port fwd 443 to make it all work but found the router Netcomm NF18 MESH said 443 was used by it and it couldn't be changed.
By this time I'm in a mess and tried many things suggested at forums, youtube and on web but nothing worked.
Now apache will not start and I'm in a mess.
Let's Encrypt let me download the pm for my certificate in case I needed it but the problem is I can't use 443.
I feel like deleting the whole shibang and starting again. New apache, new .conf files, htmls, everything.
Is that my best bet or is there a quicker way for me to get this back on the rails ?
Thank you in anticipation.
oz
This is the apache2 status..
root@zorin162-VirtualBox:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese>
Active: failed (Result: exit-code) since Mon 2022-12-05 14:04:57 AEDT; 24h>
Docs: https://httpd.apache.org/docs/2.4/
Process: 595 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAI>
Dec 05 14:04:54 zorin162-VirtualBox systemd[1]: Starting The Apache HTTP Server>
Dec 05 14:04:57 zorin162-VirtualBox apachectl[611]: AH00526: Syntax error on li>
Dec 05 14:04:57 zorin162-VirtualBox apachectl[611]: <Directory> directive requi>
Dec 05 14:04:57 zorin162-VirtualBox apachectl[595]: Action 'start' failed.
Dec 05 14:04:57 zorin162-VirtualBox apachectl[595]: The Apache error log may ha>
Dec 05 14:04:57 zorin162-VirtualBox systemd[1]: apache2.service: Control proces>
Dec 05 14:04:57 zorin162-VirtualBox systemd[1]: apache2.service: Failed with re>
Dec 05 14:04:57 zorin162-VirtualBox systemd[1]: Failed to start The Apache HTTP>
lines 1-14/14 (END)
#92
Apache 2.4 / Re: Mod_Bikeshed
Last post by puertoblack2003 - November 21, 2022, 04:05:50 PMthank you
#93
Apache 2.4 / Re: Mod_Bikeshed
Last post by DnvrSysEngr - November 21, 2022, 02:24:18 AMPuerto:
Here are instructions on how to install mod_bikeshed:
INSTALL
* -------
* 1. Copy the module to your Apache's modules folder.
* 2. Copy the included .conf file to your Apache's /conf/extra
* directory.
* 3. In your httpd.conf file, and the below line to the file somewhere in the
* global context (right after the LoadModule section is good);
*
* Include conf/extra/httpd-bikeshed.conf
*
* 4. Restart Apache.
*
* 5. A simple test to see if it is working is to look at the server
* signature at the bottom of a simple directory index. You can
* also check via a scripting language like PHP [phpinfo()] or
* other.
Here is a sample config file for mod_bikeshed:
######################################################################
# Apache Configuration File for mod_bikeshed
#
# Place this file in your Apache /conf/extra directory, modify as
# desired and then add to your httpd.conf file somewhere in the
# global context;
#
# Include conf/extra/httpd-bikeshed.conf
#
######################################################################
LoadModule bikeshed_module modules/mod_bikeshed.so
<IfModule bikeshed_module>
# Turn on the module
BikeShedTokensReplace On
# The string to replace Apache Tokens with or set to
# "None" to disable ServerTokens
#BikeShedTokensString "None"
BikeShedTokensString "MyServer/1.2.3 my_module/1.0"
</IfModule>
# End of Apache Configuration File for mod_bikeshed
Here are instructions on how to install mod_bikeshed:
INSTALL
* -------
* 1. Copy the module to your Apache's modules folder.
* 2. Copy the included .conf file to your Apache's /conf/extra
* directory.
* 3. In your httpd.conf file, and the below line to the file somewhere in the
* global context (right after the LoadModule section is good);
*
* Include conf/extra/httpd-bikeshed.conf
*
* 4. Restart Apache.
*
* 5. A simple test to see if it is working is to look at the server
* signature at the bottom of a simple directory index. You can
* also check via a scripting language like PHP [phpinfo()] or
* other.
Here is a sample config file for mod_bikeshed:
######################################################################
# Apache Configuration File for mod_bikeshed
#
# Place this file in your Apache /conf/extra directory, modify as
# desired and then add to your httpd.conf file somewhere in the
# global context;
#
# Include conf/extra/httpd-bikeshed.conf
#
######################################################################
LoadModule bikeshed_module modules/mod_bikeshed.so
<IfModule bikeshed_module>
# Turn on the module
BikeShedTokensReplace On
# The string to replace Apache Tokens with or set to
# "None" to disable ServerTokens
#BikeShedTokensString "None"
BikeShedTokensString "MyServer/1.2.3 my_module/1.0"
</IfModule>
# End of Apache Configuration File for mod_bikeshed
#94
Apache 2.4 / Re: Mod_Bikeshed
Last post by puertoblack2003 - November 19, 2022, 04:46:09 PMQuote from: Gregg on November 18, 2022, 04:51:02 PMThey are here: https://www.apachehaus.net/modules/mod_bikeshed/
fyi, the conf file is missing for the vc17 file
#95
Apache 2.4 / Re: Mod_Bikeshed
Last post by DnvrSysEngr - November 18, 2022, 07:18:16 PMThank you Gregg.
#96
Apache 2.4 / Re: Mod_Bikeshed
Last post by Gregg - November 18, 2022, 04:51:02 PMThey are here: https://www.apachehaus.net/modules/mod_bikeshed/
#97
Apache 2.4 / Re: Mod_Bikeshed
Last post by Gregg - November 18, 2022, 06:32:23 AMI'll give it a try mañana (Friday)
#98
Apache 2.4 / Mod_Bikeshed
Last post by DnvrSysEngr - November 15, 2022, 10:58:54 PMHi Gregg:
Any plans to update Mod_Bikeshed to VC17? Looks like v1.0 is out?
(https://github.com/JBlond/mod_bikeshed)
Thank you.
--Scott
Any plans to update Mod_Bikeshed to VC17? Looks like v1.0 is out?
(https://github.com/JBlond/mod_bikeshed)
Thank you.
--Scott
#99
Apache 2.4 / Re: TLSv1.0 with OpenSSL 3.0.5
Last post by mbalestra - November 11, 2022, 08:56:20 PMThank you Mario and Greg.
I found finally the solution of my problem. I post it here in case someone else is looking for it.
Setting the ciphers is not enough, you have also to decrease the seclevel to 0.
And this is done in the SSLCipherSuite option.
For me this SSLCipherSuite works:
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:@SECLEVEL=0
Note the @SECLEVEL=0 at the end.
I found finally the solution of my problem. I post it here in case someone else is looking for it.
Setting the ciphers is not enough, you have also to decrease the seclevel to 0.
And this is done in the SSLCipherSuite option.
For me this SSLCipherSuite works:
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:@SECLEVEL=0
Note the @SECLEVEL=0 at the end.
#100
News & General Discussion / Re: Forum Upgrade
Last post by puertoblack2003 - November 08, 2022, 04:39:49 PMlooks good other then the forum is wide I'm on firefox