mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 11:30:55 +01:00
Make http://secure.phabricator.com/ version-controlled.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
2f3d98b24b
commit
cde798ea9f
1 changed files with 30 additions and 0 deletions
30
resources/www/index.php
Normal file
30
resources/www/index.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* This is the source for <http://www.phabricator.com/>.
|
||||
*/
|
||||
|
||||
$path = $_REQUEST['__path__'];
|
||||
$host = $_SERVER['HTTP_HOST'];
|
||||
if ($host == 'secure.phabricator.com') {
|
||||
// If the user is requesting a secure.phabricator.com resource over HTTP,
|
||||
// redirect them to HTTPS.
|
||||
header('Location: https://secure.phabricator.com/'.$path);
|
||||
}
|
||||
|
||||
?>
|
||||
<!doctype html>
|
||||
<head>
|
||||
<title>Phabricator</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Phabricator</h1>
|
||||
<ul>
|
||||
<li><a href="https://secure.phabricator.com/">Phabricator Install for Phabricator Development</a></li>
|
||||
<li><a href="docs/libphutil/">Libphutil Docs</a></li>
|
||||
<li><a href="docs/arcanist/">Arcanist Docs</a></li>
|
||||
<li><a href="docs/phabricator/">Phabricator Docs</a></li>
|
||||
<li><a href="docs/javelin/">Javelin Docs</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue