X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/69224ffe6ff27067bae63f3155d84a1dbe82948b..4dec3c5aa93e77ed29ade646c6db3a9ea39d7896:/README.rst diff --git a/README.rst b/README.rst index 1047243..b92804a 100644 --- a/README.rst +++ b/README.rst @@ -169,7 +169,7 @@ URLs ==== ``/`` - Index page. Shows form for new paste + Index page. ``/[0-9]+`` Display page for paste ``/[0-9]/edit`` @@ -188,6 +188,12 @@ URLs Search for term, with optional page ``/list(/[0-9])?`` 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 @@ -220,9 +226,13 @@ If you use nginx, place the following lines into your ``server`` block: rewrite ^/([0-9]+)/rev-raw/(.+)$ /raw.php?id=$1&rev=$2&file=$3; rewrite ^/([0-9]+)/tool/([^/]+)/(.+)$ /tool.php?id=$1&tool=$2&file=$3; + rewrite ^/new$ /new.php; rewrite ^/list$ /list.php; rewrite ^/list/([0-9]+)$ /list.php?page=$1; rewrite ^/search$ /search.php; rewrite ^/search/([0-9]+)$ /search.php?page=$1; + + rewrite ^/login$ /login.php; + rewrite ^/user$ /user.php; }