Script By Mihanbox.com

System Requirements

PHP 5 or greater. MySQL 3.0 or greater. 1 MySQL database. 65KB free space. Optional: mod_rewrite (or similar URL rewriting engine).


Install Guide

Step 1

Upload all files in the /upload/ folder to the directory on your web host where you wish to install URL Shrtn.

Step 2

Point your browser to the /install/ subfolder. For example, if you uploaded to http://www.domain.com/, enter http://www.domain.com/install/ in the address bar of your browser.

Step 3

Follow the instructions of the installer:

  1. You are required to provide access details to a MySQL database.
  2. You must choose a format for you the new URLs generated by the script. See URL Formats.
  3. Finally, choose your username and password for your admin account.

URL Formats

URL shrtn can generate its new, short URLs in three different formats:

  1. Static file
    http://www.domain.com/go.php?s=example
  2. Virtual directories
    http://www.domain.com/example/
  3. Virtual subdomains
    http://example.domain.com/

Option (1) requires no additional setup.

Option (2) requires URL rewriting. The default .htaccess file that comes in the /upload/ folder caters for this option. The installer will attempt to determine whether you have the mod_rewrite module enabled. You will not need to make any further changes.

Option (3) requires URL rewriting and wildcard subdomain access. The file subdomain.htaccess must be renamed to replace the default .htaccess file. You must also setup a wildcard DNS entry and configure your server to treat all subdomains as the main domain. For more details, visit our guide.

Note: You can still use rewriting without the mod_rewrite module - you will however need to manually setup the correct rewrites using the necessary procedure for whichever server you use.


Troubleshooting

For more information and help with installing, visit the URL Shrtn site.


 

© 2007 Mihanbox.com