mirror of https://github.com/pikami/palm-paste.git
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
|