skip to Main Content

LetsEncrypt SSL Error – SSL routines:ssl3_get_record:wrong version number – Apache

I've managed to pull down a fresh cert from LetsEncrypt. My VirtualHost config is set up as: <VirtualHost *:80> ServerName example.com Redirect 301 / https://example.com/ </VirtualHost> <VirtualHost *:443> Servername example.com DocumentRoot /var/www/example.com/wav ErrorLog /var/log/apache2/example.com/www/error.log SSLEngine On SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem…

VIEW QUESTION

Replacing Strings with .htaccess in URL – Apache

I need to edit my .htaccess file so that this string: https://example.com/haathumb.php?var=400x300/src/wp-content/uploads/2017/08/brain-training-game-show-app-improves-memory.jpg Is replaced with this replaced with this string: https://example.com/thumb/400x300/src/wp-content/uploads/2017/08/brain-training-game-show-app-improves-memory.jpg To sum up I need to replace haathumb.php?var= with thumb in a string using .htaccess. How do I do…

VIEW QUESTION

Why browser show Server API for info.html as Apache 2.0 Handler but info.php as FPM/FastCGI?

Environment:centos7+php7.2. I build FPM/FastCGI as the tutorial say. build FPM/FastCGI Show my important configuration in /etc/httpd/conf.d/php.conf. <IfModule mod_php7.c> <FilesMatch .(php|phar)$> SetHandler "proxy:fcgi://127.0.0.1:9000" </FilesMatch> <FilesMatch ".+.html$"> SetHandler application/x-httpd-php </FilesMatch> php_value session.save_handler "files" php_value session.save_path "/var/lib/php/session" php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache" </IfModule> Assign the…

VIEW QUESTION
Back To Top
Search