1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/lilurl/files/pkg-message.in
Martin Wilke 56246a50be lilURL is a simple PHP/MySQL script for generating lil? URLs. It's similar
to TinyURL, Shorl, MakeAShorterLink, etc, but you can run it on your own
server. Requires PHP and MySQL. Supports mod_rewrite.

WWW: http://lilurl.sourceforge.net

PR:		ports/103231
Submitted by:	chinsan <chinsan.tw(at)gmail.com>
2006-09-14 07:18:14 +00:00

22 lines
896 B
Plaintext

=======================================================================
lilurl is now installed. If you intall it for the first time,
you may have to follow this steps to make it work correctly:
1. Create the MySQL database:
# mysqladmin --user=root create lilurl
2. Create a mysql user/password for lilurl:
(change user and/or password if requered)
# echo "GRANT ALL ON lilurl.* TO lilurluser@localhost IDENTIFIED BY 'lilurluser'; FLUSH PRIVILEGES;" | mysql
3. Import the default lilurl database:
# mysql lilurl < %%TARGETDIR%%/%%LILURL_DIR%%/lilurl.sql
4. Copy %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php.sample to %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php
Edit %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php
5. Add alias in apache config for the lilurl dir:
Alias /lilurl "%%TARGETDIR%%/%%LILURL_DIR%%/"
=======================================================================