git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
secure.php is not used anymore
[phorkie.git]
/
README.rst
diff --git
a/README.rst
b/README.rst
index c94f29ed886a4c76d1afe6eae823fafcbf99fe64..b92804a0b27fe04ec63645f9efe4875a163ddb0f 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-190,6
+190,11
@@
URLs
List all pastes, with optional page
``/new``
Shows form for new paste
List all pastes, with optional page
``/new``
Shows form for new paste
+``/login``
+ Login page for protecting site
+``/user``
+ Edit logged-in user information
+
Internal directory layout
=========================
Internal directory layout
=========================
@@
-227,4
+232,7
@@
If you use nginx, place the following lines into your ``server`` block:
rewrite ^/search$ /search.php;
rewrite ^/search/([0-9]+)$ /search.php?page=$1;
rewrite ^/search$ /search.php;
rewrite ^/search/([0-9]+)$ /search.php?page=$1;
+
+ rewrite ^/login$ /login.php;
+ rewrite ^/user$ /user.php;
}
}