Ask questions about installing and configuring ProcessMaker 3
By zKWdVqjUNUP
#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.
User avatar
By amosbatto
#826426
Try this:
NameVirtualHost your_ip:80
<VirtualHost your_ip:80>
ServerName xxx.com
Redirect / https://xxx.com
</VirtualHost>

<VirtualHost your_ip:443>
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>

See: https://www.tecmint.com/redirect-http-t ... on-apache/
By Dylan29
#826647
zKWdVqjUNUP wrote: ↑Tue Sep 10, 2019 12:15 am 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>

paris shuttle airports
Thankyou very much.
That a really good job
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]