ricordisamoa/dvncmd/master/.htaccess - Htaccess File

ricordisamoa/dvncmd/master/.htaccess

# Divine Comedy link shortener - dvncmd.tk
# 
# Copyright © 2012-2014 by Ricordisamoa
# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
# 
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
# 
# The license file can be found at COPYING.txt (in this directory).

DirectoryIndex home.php
RewriteEngine on
RewriteRule ^([w-]{2,6})/([ipd][0-9].+)$ home.php?q=$2&lang=$1 [L]
RewriteRule ^([ipd][0-9].+)$ home.php?q=$1 [L]

On Github License

Files

Download PDF of Htaccess file

Comments

Apache