Shortny

Shortny是一款国外的PHP短网址系统,程序非常小巧,但是功能是很多的,支持自定义后缀、加密访问,查看链接统计,而且还支持放广告,这个广告功能相信有些人会喜欢。界面也比较好看,支持白天/夜晚切换模式。

特性

程序特性

前端:
简洁、优雅、反应灵敏的设计
创建URL
创建自定义URL
密码保护的链接
链接统计
暗色主题
小书签
复制和共享链接

后端:
删除网址
编辑网站设置
添加或编辑广告
分析
使用自定义CSS

功能:
垃圾邮件检查器
所有输入都经过验证以进行保护。
安全支护板
命中计数

预览-Sorls.cn


安装

环境要求:PHP、Mysql、Nginx/Apache

伪静态规则如下

Apache

RewriteEngine on 
RewriteRule ^about                about.php [L]
RewriteRule ^api-about            api-about.php [L]
RewriteRule ^contact              contact.php [L]
RewriteRule ^tos                  tos.php [L]
RewriteRule ^([^/.]+)/?$          link.php?id=$1 [L]
RewriteRule ^404                  404.php [L]


Options -Indexes
ErrorDocument 404 https://sorls.cn/404
ErrorDocument 403 https://sorls.cn/404

Nginx

rewrite ^/about /about.php last;
rewrite ^/api-about /api-about.php last;
rewrite ^/contact /contact.php last;
rewrite ^/tos /tos.php last;
rewrite ^/([^/.]+)/?$ /link.php?id=$1 last;
rewrite ^/404 /404.php last;
error_page 404 https://sorls.cn/404;
error_page 403 https://sorls.cn/404;

路径

#安装路径,记得修改下面域名地址
https://sorls.cn/install/index.html
#后台路径
https://sorls.cn/admin/index.php

下载

此处内容需要评论回复后(审核通过)方可阅读。

最后修改:2022 年 07 月 16 日
觉得文章不错的话可以点一下文章底部的广告呦!