# 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/" AllowOverride None Options None Order allow,deny Allow from all AllowOverride None Options None Order allow,deny Allow from all NESCompatEnv on AllowOverride None Options None Order allow,deny Allow from all RewriteEngine on RewriteRule ^/$ /dist/download [R,L,QSA] # Handle the initial login SetHandler user-auth AuthUserFile /opt/redhat-ds/admin-serv/config/admpw AuthType basic AuthName "Admin Server" Require valid-user # Handle Console tasks AuthUserFile /home/rcrit/redhat-ds/admin-serv/config/admpw AuthType basic AuthName "Admin Server" Require valid-user Options +ExecCGI