Getting a 404 Error with Lessn

August 22, 2014 958 views

Hey everyone,

I am attempting to use Lessn, a URL shortener by Shaun Inman ( I have used this before on a server that was on mediatemple. Setup is fine, and I see the long URL I've shortened in my database (via phpmyadmin). The problem is though, using the shortened URL ends in a 404.

Am I missing something server-side? Shaun's not responding to Lessn questions due to it being a free, open-source project.

1 Answer

Turns out all I needed to do was upgrade my server's OS. I was using Ubuntu 12 and I upgraded to 14. I stumbled across a post on Stack Overflow that stated Apache had issues in that version with mod_rewrite working.

I also had to add this line (Include /etc/phpmyadmin/apache.conf) to my apache2.conf file (located "/etc/apache2/apache2.conf"), in order to access phpmyadmin at domainname/phpmyadmin again.

Have another answer? Share your knowledge.