VPS Hosting OR modrewrite allowed on shared

Status
Not open for further replies.

DCC

New Member
#1
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
#2
Most hosting providers offer mod_rewrite with their Linux hosting plans

Or are you trying to do something very specific?
 

DCC

New Member
#3
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
#4
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 ..
 
#5
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.
Award-winning Mac antivirus and Internet security software
Top