I am trying to do a URL Rewrite, but no matter how I try, it seems like the htaccess file do not functioning at all, and it is only returning the directory listing.

Can anyone tell me what else do I need to look at to make it work?




The main apache config probably doesn't allow rewriting in .htaccess or even allow overriding via htaccess at all.

Written by Cfreak

What have you tried? Is overriding htaccess allowed on your server?

Written by Jason McCreary

Accepted Answer

Make sure you have AllowOveride All set in your vhost conf file.

Written by iLLin
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki