mirror of
https://github.com/pikami/palm-paste.git
synced 2024-11-24 12:45:44 +00:00
11 lines
339 B
ApacheConf
11 lines
339 B
ApacheConf
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 ^delete/([A-Za-z0-9-]+)/?$ delete.php?id=$1
|
|
RewriteRule ^edit/([A-Za-z0-9-]+)/?$ index.php?page=edit&id=$1
|
|
RewriteRule ^([A-Za-z0-9-]+)/?$ index.php?page=$1
|