Difference between revisions of "I share my admin account with other person and I would like to protect some pages or actions in MOR to be available only for me"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 20: Line 20:
2. Open Apache configuration with your favorite Linux editor:
2. Open Apache configuration with your favorite Linux editor:


mcedit /etc/httpd/conf/httpd11.conf
mcedit /etc/httpd/conf/httpd11.conf


and edit this file to look like this:
and edit this file to look like this:

Revision as of 08:22, 17 August 2011

About

This is an advanced configuration, most probably your desired setup can be achieved with accountant permissions.


How to protect some page/actions using simple Apache password?

For this example we will setup Apache to not allow Calling Cards Batch management and to do a manual payment for card without an additional password. For these actions are used these addresses in MOR:


http://YOUR_IP/billing/cards/act?cg=3

and

http://YOUR_IP/billing/cards/card_pay/22?cg=3

1. Create an Apache password file:

htpasswd -c -b -m /home/mor/custome_areas_htpasswd admin your_password

2. Open Apache configuration with your favorite Linux editor:

mcedit /etc/httpd/conf/httpd11.conf

and edit this file to look like this: