78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
|
# BEGIN COPYRIGHT BLOCK
|
||
|
#
|
||
|
# Copyright (C) 2005 Red Hat, Inc.
|
||
|
# All rights reserved.
|
||
|
#
|
||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
# you may not use this file except in compliance with the License.
|
||
|
# You may obtain a copy of the License at
|
||
|
#
|
||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||
|
#
|
||
|
# Unless required by applicable law or agreed to in writing, software
|
||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
|
#
|
||
|
# END COPYRIGHT BLOCK
|
||
|
|
||
|
# To get the Admin Express working properly, add the following to
|
||
|
# apache, either directly or thru an Include /path/to/this.conf
|
||
|
|
||
|
# These 2 need to be fixed/added in the main httpd.conf
|
||
|
# LoadModule admserv_module modules/libmodadmserv.so
|
||
|
# ServerTokens Minor
|
||
|
|
||
|
SetEnv NETSITE_ROOT /opt/redhat-ds
|
||
|
SetEnv ADMSERV_ROOT /opt/redhat-ds/admin-serv/config/
|
||
|
|
||
|
ScriptAlias /clients/orgchart/bin/ "/opt/redhat-ds/clients/orgchart/bin/"
|
||
|
ScriptAlias /clients/dsgw/bin/ "/opt/redhat-ds/clients/dsgw/bin/"
|
||
|
ScriptAlias /bin/admin/admin/bin/ "/opt/redhat-ds/bin/admin/admin/bin/"
|
||
|
ScriptAlias /dist/ "/opt/redhat-ds/dist/"
|
||
|
|
||
|
<Directory "/opt/redhat-ds/clients/orgchart/bin/">
|
||
|
AllowOverride None
|
||
|
Options None
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
<Directory "/opt/redhat-ds/clients/dsgw/bin/">
|
||
|
AllowOverride None
|
||
|
Options None
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
NESCompatEnv on
|
||
|
</Directory>
|
||
|
|
||
|
<Directory "/opt/redhat-ds/dist/">
|
||
|
AllowOverride None
|
||
|
Options None
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
RewriteEngine on
|
||
|
RewriteRule ^/$ /dist/download [R,L,QSA]
|
||
|
|
||
|
# Handle the initial login
|
||
|
<Location /admin-serv/authenticate>
|
||
|
SetHandler user-auth
|
||
|
AuthUserFile /opt/redhat-ds/admin-serv/config/admpw
|
||
|
AuthType basic
|
||
|
AuthName "Admin Server"
|
||
|
Require valid-user
|
||
|
</Location>
|
||
|
|
||
|
# Handle Console tasks
|
||
|
<LocationMatch /*/[tT]asks/*>
|
||
|
AuthUserFile /home/rcrit/redhat-ds/admin-serv/config/admpw
|
||
|
AuthType basic
|
||
|
AuthName "Admin Server"
|
||
|
Require valid-user
|
||
|
Options +ExecCGI
|
||
|
</LocationMatch>
|
||
|
|