Ask questions about installing and configuring ProcessMaker 3
User avatar
By programerboy
#815388
Hi,
When I type my address http://localhost browser redirect to http://localhost/sysworkflow/en/neoclassic/login/login

I want to redirect to example http://localhost/sysMyWorkspace/MyLang/ ... ogin/login

I changed "login settings" and "system settings" in ADMIN menu and then clear cache but didn't change anything.

I also change app.php and httpd-app.conf in bitnami install but didn't change anything.

Please tell me how can I do it in windows and linux?

Thanks
User avatar
By amosbatto
#815405
After you change the settings in Admin > System, the file workflow/public_html/index.html should be changed. For example, if you set the skin to "classic" and the language to "German", then you should have this HTML:
Code: Select all
<html>
  <head>
    <title>Redirector</title>
    <meta http-equiv="PRAGMA" content="NO-CACHE" />
    <meta http-equiv="CACHE-CONTROL" content="NO-STORE" />
    <meta http-equiv="REFRESH" content="0;URL=sys/de/classic/login/login" />
  </head>
</html>
Then, you need to clear the stored cache in your web browser. For example, in Firefox, go to the URL: about:preferences
Then, go to Advanced > Network and click on the "Clear Now" button under "Cached Web Content".

Then, if you go to the address http://processmaker.example.com, it should redirect to http//processmaker.example.com/sys/de/classic/login/login
This is what I'm seeing in PM 3.2.1 Community (manual install) in Debian.
User avatar
By programerboy
#815407
Hi,

It doesn't work for me.
I change setting in program and change index.html and change .htaccess setting and clear web content but when in my browser or new browser I set address it redirect to default address.
I use processmaker 3.2.2 with bitnami installer.

Thanks
User avatar
By amosbatto
#815489
Programerboy, I think I found the solution.
Edit the file workflow/public_html/app.php and change the code from:
Code: Select all
        case Maveriks\WebApplication::RUNNING_DEFAULT:
            $response = new Maveriks\Http\Response("", 302);
            //TODO compose this def url with configuration data from env.ini
            $response->setHeader("location", "/sys/en/neoclassic/login/login");
to:
Code: Select all
        case Maveriks\WebApplication::RUNNING_DEFAULT:
            $response = new Maveriks\Http\Response("", 302);
            //TODO compose this def url with configuration data from env.ini
            $lang = defined('SYS_LANG') and SYS_LANG != '' ? SYS_LANG : 'en';
            $skin = defined('SYS_SKIN') and SYS_SKIN != '' ? SYS_SKIN : 'neoclassic';
            $workspace = defined('SYS_SYS') ? SYS_SYS : '';            
            $response->setHeader("location", "/sys$workspace/$lang/$skin/login/login");
After I made that change, the login page doesn't redirect to "neoclassic" after I login in PM 3.2.1 Community. Does it work for you?

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

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]