cnwangjie / phurl

Automatically exported from code.google.com/p/phurl
0 stars 0 forks source link

Error 404 #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install
2. Delete install directory

What is the expected output? What do you see instead?
Error 404

What version of the product are you using? On what operating system?
2.4.2 on Debian 6

Please provide any additional information below.
Running on Apache 2.2.16 with Mysql 5.1.49

To resolve the problem I created a .htaccess file with these following lines:
########## Begin ##############
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$ redirect.php?alias=$1 [L]
########### End ###############

# Before we must active rewrite in Apache2
 $ a2enmod rewrite
# And restart Apache2
 $ /etc/init.d/apache2 restart

Original issue reported on code.google.com by geoffrey...@gmail.com on 20 Feb 2011 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by he...@phurlproject.org on 25 Feb 2011 at 10:30