Parent: [1f9847] (diff)

Download this file

vhost_admin.html    61 lines (54 with data), 2.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<?python from allura.lib import helpers as h?>
<?python from allura.lib.security import has_artifact_access?>
<xi:include href="master.html"/>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
<title>${c.project.name} project: Admin: VHOST Management</title>
</head>
<body>
<h1 class="title">VHOST Service</h1>
<div class="content">
<p>
Your project currently has ${len(vhosts)} VHOSTs out of a
maximum 10 permitted for your project.
</p>
<h2>Add New Virtual Host</h2>
<p>
Please follow the instructions in the documentation titled,
"<a href="http://p.sf.net/sourceforge/vhost"
>VHOST Services for SourceForge.net Projects</a>", located in the
Site Documentation collection. This document covers the correct way to
configure your DNS services to direct traffic to your VHOST at SourceForge.net.
</p>
<p>
One VHOST should be added for each host and each domain, for which you
wish for us to answer traffic. For example, separate VHOST would need to
be added for yourhost.org and www.yourhost.org. Clicking on the "Create"
button will schedule your VHOST for creation; this is not an immediate
process (see the aforementioned documentation for further details).
</p>
${c.new.display(action='create')}<br/>
<table py:if="vhosts">
<thead>
<tr><th>Virtual Host</th><th>Operations</th></tr>
</thead>
<tbody>
<tr py:for="vhost in vhosts">
<td>$vhost.name</td>
<td>
<form method="POST" action="delete">
<input type="hidden" name="vhostid" value="$vhost.vhostid" />
<input type="submit" value="Delete" />
</form>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>