- Tue Sep 10, 2019 12:15 am
#826409
Hello every
I have a processmaker
ProcessMaker Ver.: 3.2.3-community
Web Server: Apache/2.4.18 (Ubuntu)
PHP Version: 5.6.40-12+ubuntu16.04.1+deb.sury.org+1
MySQL Version: 5.7.27-Oubuntu0.16.04.1
Now https://xxx.com is working.
I need to force HTTP to HTTPS://XXX.com
When typing http://xxx.com
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
My settings at /etc/apache2/sites-available/pmos.conf
<VirtualHost IP>
ServerName xxx.com
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php
SSLEngine on
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
SSLCertificateFile /etc/ssl/xxx.pem
SSLCertificateKeyFile /etc/ssl/xxx.key
<Directory /opt/processmaker/workflow/public_html>
Options Indexes FollowSymLinks MultiViews
AddDefaultCharset UTF-8
AllowOverRide All
Require all granted
ExpiresActive On
<IfModule mod_rewrite>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
</IfModule>
AddOutputFilterByType DEFLATE text/html
</Directory>
</VirtualHost>
Thankyou very much.
I have a processmaker
ProcessMaker Ver.: 3.2.3-community
Web Server: Apache/2.4.18 (Ubuntu)
PHP Version: 5.6.40-12+ubuntu16.04.1+deb.sury.org+1
MySQL Version: 5.7.27-Oubuntu0.16.04.1
Now https://xxx.com is working.
I need to force HTTP to HTTPS://XXX.com
When typing http://xxx.com
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
My settings at /etc/apache2/sites-available/pmos.conf
<VirtualHost IP>
ServerName xxx.com
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php
SSLEngine on
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
SSLCertificateFile /etc/ssl/xxx.pem
SSLCertificateKeyFile /etc/ssl/xxx.key
<Directory /opt/processmaker/workflow/public_html>
Options Indexes FollowSymLinks MultiViews
AddDefaultCharset UTF-8
AllowOverRide All
Require all granted
ExpiresActive On
<IfModule mod_rewrite>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
</IfModule>
AddOutputFilterByType DEFLATE text/html
</Directory>
</VirtualHost>
Thankyou very much.