-   Linux - Newbie (
-   -   URL rewriting/Centos (

lonster 09-28-2009 09:24 AM

URL rewriting/Centos

Im really new to linux. Im running an unmanaged VPS (no help from host)

Im trying to install a script that needs url rewriting enabled, how do I enable it?

Please keep in mind I am very new to this, but eager to learn.

Thanks in advance for any help.

bathory 09-28-2009 09:46 AM

Hi and welcome to LQ,

Assuming that yourVPS provider has enabled mod_rewrite and lets you use .htaccess, you have to create a file named .htaccess in your DocumentRoot directory containing "RewriteEngine on" followed by the Rewrite rules you want to use.


All times are GMT -5. The time now is 02:48 PM.