VPS Hosting OR modrewrite allowed on shared

Status
Not open for further replies.

DCC

New Member
Hi

Anyone know the cheapest way to host a site that needs mod rewrite allowed? I am being told most of the shared hosting packages do not allow this and that I need a VPS hosting package.

What's my cheapest option?

Thanks
 

mneylon

Administrator
Staff member
Most hosting providers offer mod_rewrite with their Linux hosting plans

Or are you trying to do something very specific?
 

DCC

New Member
Most hosting providers offer mod_rewrite with their Linux hosting plans

Or are you trying to do something very specific?

Just asked to provide hosting which can deal with:

We are looking for a standard LAMP stack (Linux, Apache 2.x, PHP 5.x and MySQL)

The Apache server on the LAMP stack needs to support "mod_rewrite" fully in a shared or virtual environment.

Below is the rewrite script used.


The following is what we are using and there is nothing really complex about it.
We are doing this on a pre-directory basis using .htaccess files.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
 

mneylon

Administrator
Staff member
There's nothing odd about that

Pretty much any hosting provider should be able to handle it .. I know we do and would be surprised if any of the others didn't ..
 

myfirsturl

New Member
that's true. every hosting provider should provide you with mod_rewrite. i had about 10 providers and everyone accepted this mode. so far i did not heard anything like this. very strage for me. and be sure if you will get a shared hosting i can garantee you that this the cheapest way to start your website.
 
Status
Not open for further replies.
Top