Report this

What is the reason for this report?

.htaccess error Ubuntu Lamp server

Posted on July 13, 2016

I recently began to build a Link shortener and I had to use the .htaccess so that I can change the link so that something like website.com/23hG3 would go to say google instead of something like website.com/index.php?title=23hG3

After I tested this on my own local server and watching as it works I put it on my server here and I got this:

glith.co is currently unable to handle this request. HTTP ERROR 500

This is my .htaccess :

RewriteEngine On
RewriteRule ^([^/]+)/? index.php?title=$1 [L,QSA]

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.