Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 915 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 liveuser 1
#!/bin/bash
2
#
3
#	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
357 liveuser 4
#    Copyright (C) 2015~2023 Min-Jhin,Chen
1 liveuser 5
#
6
#    This file is part of QBPWCF.
7
#
8
#    QBPWCF is free software: you can redistribute it and/or modify
9
#    it under the terms of the GNU General Public License as published by
10
#    the Free Software Foundation, either version 3 of the License, or
11
#    (at your option) any later version.
12
#
13
#    QBPWCF is distributed in the hope that it will be useful,
14
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
#    GNU General Public License for more details.
17
#
18
#    You should have received a copy of the GNU General Public License
19
#    along with QBPWCF.  If not, see <http://www.gnu.org/licenses/>.
20
#
21
 
22
#set potal varable
357 liveuser 23
portal="https://mobile.qbpwcf.org";
1 liveuser 24
 
25
#send header
26
echo "Content-type: text/html";
27
echo "";
28
 
357 liveuser 29
#send content
1 liveuser 30
echo " \
31
<html> \
32
	<head> \
33
		<meta http-equiv=\"refresh\" content=\"0;url=${portal}\" /> \
34
		<title>Page Moved</title> \
35
	</head> \
36
	<body>	\
37
		This page has moved. Click <a href=\"${portal}\">here</a> to go to the new page. \
38
	</body> \
39
</html> \
40
";
41