palm-paste/.htaccess

11 lines
339 B
ApacheConf
Raw Permalink Normal View History

2016-06-08 22:16:32 +01:00
Options +FollowSymlinks
RewriteEngine on
2016-06-20 16:20:06 +01:00
#Change the "/paste/" to the root of your palm paste
2016-06-20 16:13:59 +01:00
RewriteBase "/paste/"
2016-06-20 16:20:06 +01:00
2016-06-20 16:13:59 +01:00
RewriteRule ^u/([A-Za-z0-9-]+)/?$ index.php?user=$1
RewriteRule ^delete/([A-Za-z0-9-]+)/?$ delete.php?id=$1
RewriteRule ^edit/([A-Za-z0-9-]+)/?$ index.php?page=edit&id=$1
2016-06-08 22:16:32 +01:00
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?page=$1