Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
I'm trying to find a way to lock down our dev site with Apache .htaccess / .htpasswd option.
When adding these to the /workflow/public_html/ it does not seem to work, so was wondering it there is another way to approach this.

I've never tried it, but I imagine that you can edit your pmos.conf file and add the directives there.
Something like:
Code: Select all
<VirtualHost localhost:30172>
    ServerName "localhost"

    DocumentRoot /opt/pm3.0.1.7-2/workflow/public_html
    DirectoryIndex index.html index.php

    <Directory /opt/pm3.0.1.7-2/workflow/public_html>
        Options Indexes FollowSymLinks MultiViews
        AddDefaultCharset UTF-8
        AllowOverride None
        Require all granted
        ExpiresActive On

        <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
        AddOutputFilterByType DEFLATE text/html

        #add this part:
        AuthName "Password Protected Area"
        AuthType Basic
        AuthUserFile /your/directory/.htpasswd
        require valid-user
Location of Queue Jobs

I've been searching for where processmaker stores […]

You have to copy the library, put it into folder:[…]

hi, I have m_file variable (@@draft), and I have […]

Croatian translation

Hi gosmart, Nobody is currently working on a C[…]