From 045af4ac7e1c14662cec7f4d409b6839486c529e Mon Sep 17 00:00:00 2001 From: pikami Date: Mon, 20 Jun 2016 15:20:06 +0000 Subject: [PATCH] Updated README.md --- .htaccess | 3 +++ README.md | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 070cf75..50c65f5 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,8 @@ Options +FollowSymlinks RewriteEngine on + +#Change the "/paste/" to the root of your palm paste RewriteBase "/paste/" + RewriteRule ^u/([A-Za-z0-9-]+)/?$ index.php?user=$1 RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?page=$1 diff --git a/README.md b/README.md index 9fd52d1..92cef3b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ So we'll just assume you already have them all running well. 2. Create a user and database for palm-paste 3. Take the 'palm-paste.sql' and import it to your database. 4. Edit configuration settings in config/config.php -5. Done! +5. Change the "RewriteBase" setting in ".htaccess" file to the root of your palm-paste installation +6. Done! * To ensure that pastes with an expiration set get cleaned up, define the cron key in the config and set up a cronjob, for example: * `*/5 * * * * curl --silent http://your-site.com/palm-paste/cronjob.php?key=[key]`