0

I have the following Apache balancer manager configuration .

 <Directory "/apps/httpd/htdocs1/balancer-manager">
 Order deny,allow
 AuthName "Restricted area for authorised users only"
 AuthType Basic
 AuthUserFile /apps/httpd/conf/admin.users
 Require valid-user
</Directory>

  $ ls -l "/apps/httpd/htdocs1/balancer-manager"
  total 4
  -rw-r--r-- 1 root root 67 Aug  9 20:43 README

But my DocumentRoot is different as there is some application level dependency

     grep DocumentRoot /apps/httpd/conf/vhosts1/ssl_schoolportal.conf
     DocumentRoot "/data/web/myapp/"

If I change the DocumentRoot to same as in balancer-manager config as shown below it works fine and prompts for password

            DocumentRoot "/apps/httpd/htdocs1"

Any suggestions to make it work where it prompts for password by keeping the DocumentRoot different from as defined in Balancer_manager config .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.