Question

Getting a 404 Error with Lessn

  • Posted August 22, 2014

Hey everyone,

I am attempting to use Lessn, a URL shortener by Shaun Inman (https://github.com/shauninman/Lessn). 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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.