diff options
Diffstat (limited to 'pki/base/tks/shared/webapps/ROOT')
-rw-r--r-- | pki/base/tks/shared/webapps/ROOT/WEB-INF/web.xml | 28 | ||||
-rw-r--r-- | pki/base/tks/shared/webapps/ROOT/index.html | 22 | ||||
-rw-r--r-- | pki/base/tks/shared/webapps/ROOT/index.jsp | 13 |
3 files changed, 63 insertions, 0 deletions
diff --git a/pki/base/tks/shared/webapps/ROOT/WEB-INF/web.xml b/pki/base/tks/shared/webapps/ROOT/WEB-INF/web.xml new file mode 100644 index 000000000..3ac8408f7 --- /dev/null +++ b/pki/base/tks/shared/webapps/ROOT/WEB-INF/web.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- BEGIN COPYRIGHT BLOCK + Copyright 2004 The Apache Software Foundation + + 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 --> +<web-app xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" + version="2.4"> + + <display-name>Welcome to Tomcat</display-name> + <description> + Welcome to Tomcat + </description> + +</web-app> + diff --git a/pki/base/tks/shared/webapps/ROOT/index.html b/pki/base/tks/shared/webapps/ROOT/index.html new file mode 100644 index 000000000..1cf44b26b --- /dev/null +++ b/pki/base/tks/shared/webapps/ROOT/index.html @@ -0,0 +1,22 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<html> +<head> +<meta http-equiv="refresh" content="0; URL=https://[PKI_MACHINE_NAME]:[PKI_SECURE_PORT]/tks/services"> +</head> +</html> diff --git a/pki/base/tks/shared/webapps/ROOT/index.jsp b/pki/base/tks/shared/webapps/ROOT/index.jsp new file mode 100644 index 000000000..d3a2276bd --- /dev/null +++ b/pki/base/tks/shared/webapps/ROOT/index.jsp @@ -0,0 +1,13 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + Copyright (C) 2006 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<% + String op = request.getParameter("op"); + if (op == null || op.equals("")) { + String redirectURL = "/ca/ee/ca"; + response.sendRedirect(redirectURL); + } else if (op.equals("enroll")) { + /* redirect to enrollment servlet */ + } +%> |