The .htaccess is one of the controlling parts of this application. It strips away
the returning link so it is not visible to the end user. It is a standard text file and
is named in such away that it is invisible on a lot of linux servers. When editing
the file in windows, you probably will not be able to save the file with its current
name of .htaccess because windows reserves .names as extension in the
windows
based operating system.
The best way to edit this file is to name it like text.htaccess and then upload the
file to your linux web server. Once the file is uploaded
you can then rename the
file to .htaccess. Yes, that is a period infront of htaccess. Don't forget the period
or else the application wont work.
The guts of the .htaccess file should look like this
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /dev/urx/index.php?act=$1 [nc]
You are interested in the very last line
RewriteRule ^(.*)$ /dev/urx/index.php?act=$1 [nc]
You will edit this line to represent the folder where you isntalled urX so if you installed
urX in the "blah" directory of your domain
and it can be accessed via http://yourdomain.com/blah
you will make the line look like this
RewriteRule ^(.*)$ /blah/index.php?act=$1 [nc]
Once you have finished editing the .htaccess file, you can upload it to your server. This file
MUST reside in the same installation directory as the urX index.php. You are now complete and
ready to start shortening urls!