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

Moderators: ArturoRobles, ArturoRobles

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
Timeout Not Sending Email

I am confused, but I have setup a self-service as[…]

Hello; In a dynaform (for example: called "Gr[…]

issue with processmaker 3.2

Ok thank you but i have more questions For exam[…]

No, there's nothing wrong in the browser network a[…]