skip to Main Content

SSLException for connecting mysql db – Apache

I am creating a webproject..I have configured the jdbc realm for this..I need to connect the java servlet to mysql database.. private static String JDBC_DRIVER = "com.mysql.jdbc.Driver", DB_URL = "jdbc:mysql://localhost/chat", USER = "root", PASS = "public"; @OnMessage public void onMessage(String…

VIEW QUESTION

How to include ssl_module to Apache 2.4?

As in my centos 7 httpd.conf,I include ssl_module as LoadModule ssl_module modules/mod_ssl.so. But I get error as below: httpd: Syntax error on line 71 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object file: No such file…

VIEW QUESTION

Redirect HTTP to HTTPS with VirtualHost – Apache

I have Let's Encrypt SSL certificate for exampledomain.com. www.exampledomain.com redirects to https://exampledomain.com, but exampledomain.com gives "Apache2 Ubuntu Default Page". I use following .conf file for domain in sites-available folder: <VirtualHost *:80> DocumentRoot /var/www/html/mydomain ServerName mydomain.hu ServerAlias www.mydomain.hu RewriteEngine on RewriteCond…

VIEW QUESTION
Back To Top
Search