Getting a 404 Error with Lessn

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.