- Tue Apr 14, 2015 12:25 pm
#782681
Hi I have the same problem with the ProcessMaker Ver. 2.8-community.98ca8de and ProcessMaker Ver. 3.0-RC3-community Version.
Since the instructions for 2.8 asked to change the config it look like the directory index instruction dosent work and im not able to access the site only by the domain name
ex http://process.mysite.com
it return Unable to connect and there is no trace in access_log or error_log
to make it work I have to add index.html at the end of the URL
So if I enter http://process.mysite.com/index it goes to the login if im not loged
and to /sysworkflow/fr-CA/neoclassic/cases/main if I am logged wich is correct
It only that it force to ented index.html or the long url /sysworkflow/fr-CA/neoclassic/cases/main
Here the config for ProcessMaker Ver. 2.8-community.98ca8de
Server version: Apache/2.4.12 (Unix)
Server built: Mar 18 2015 13:06:44
httpd.conf
<Directory "/opt/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.html
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html
</Directory>
.htaccess
RewriteEngine On
RedirectMatch 301 !/sysworkflow/(.*) http://process.mysite.com/sysworkflow/f ... ogin/login
ProcessMaker Ver. 3.0-RC3-community
httpd.conf
<Directory "/opt/processmaker3/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverride none
Options FollowSymlinks
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.html
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html
</Directory>
.htaccess
<FilesMatch "\.(htaccess|php|ini|log|sh|inc|bak|config)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "^(app|sysGeneric)\.php$">
Order Allow,Deny
Allow from All
</FilesMatch>
Since the instructions for 2.8 asked to change the config it look like the directory index instruction dosent work and im not able to access the site only by the domain name
ex http://process.mysite.com
it return Unable to connect and there is no trace in access_log or error_log
to make it work I have to add index.html at the end of the URL
So if I enter http://process.mysite.com/index it goes to the login if im not loged
and to /sysworkflow/fr-CA/neoclassic/cases/main if I am logged wich is correct
It only that it force to ented index.html or the long url /sysworkflow/fr-CA/neoclassic/cases/main
Here the config for ProcessMaker Ver. 2.8-community.98ca8de
Server version: Apache/2.4.12 (Unix)
Server built: Mar 18 2015 13:06:44
httpd.conf
<Directory "/opt/processmaker/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverRide none
Options FollowSymlinks
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.html
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html
</Directory>
.htaccess
RewriteEngine On
RedirectMatch 301 !/sysworkflow/(.*) http://process.mysite.com/sysworkflow/f ... ogin/login
ProcessMaker Ver. 3.0-RC3-community
httpd.conf
<Directory "/opt/processmaker3/workflow/public_html">
AddDefaultCharset UTF-8
AllowOverride none
Options FollowSymlinks
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.html
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType image/jpg "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
AddOutputFilterByType DEFLATE text/html
</Directory>
.htaccess
<FilesMatch "\.(htaccess|php|ini|log|sh|inc|bak|config)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "^(app|sysGeneric)\.php$">
Order Allow,Deny
Allow from All
</FilesMatch>
Last edited by alainb on Tue May 19, 2015 8:31 am, edited 1 time in total.