Giter Club home page Giter Club logo

urlshorting's Introduction

URLshorting

License GitHub stars GitHub forks

简介

一个url网址缩短平台.

安装方法

1.下载源码.
2.上传至你的网站根目录.
3.访问网站域名填写mysql等信息进行安装
4.修改网站伪静态配置:
Nginx:

if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?id=$1 last;
}

Apache:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?id=$1 [L]
</IfModule>

IIS请尝试自己转换.
5.访问网站进行确认.

升级向导

对于升级2.1.0

1.进入mysql数据库执行drop table config;drop table notice;
2.删除网址根目录,可以直接下载最新源码上传至服务器重新安装,不影响原有数据
3.原有数据,必须手动在information表中添加passwd字段值!
4.NOTICE:此版本与老版本不兼容(2.1.0之前,请尝试下载Releases中的tool.php文件放置于网站根目录执行,进行自动格式转换)

版权

xcsoft版权所有 改源码依据apache2开源协议开源,请不要修改版权信息!

更新

v2.1.2更新
1.解决密码BUG
2.修复oauth登录
3.解决时间戳显示问题
4.后台显示超长度用省略号替代
5.短域301跳转

urlshorting's People

Contributors

soxft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.