Need a host that supports mod_rewrite

Discussion in 'General Chat' started by marieg, Dec 15, 2007.

  1. #1
    Does Hostgator supports mod_rewrite or can you please suggest any host that support this.

    I already have 3 webhost but they don't support mod_rewrite so I can't use some scripts that I bought.
     
    marieg, Dec 15, 2007 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Hostgator supports mod_rewrite - most do.
     
    mjewel, Dec 15, 2007 IP
  3. marieg

    marieg Active Member

    Messages:
    695
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Yeah I thought most webhost supports it, but I tried 3 different hosting companies and they don't support it. They say they support it but when I install my script it doesn't work. I can edit .htaccess but the friendly urls won't work.
     
    marieg, Dec 15, 2007 IP
  4. Romanos

    Romanos Well-Known Member

    Messages:
    1,062
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    165
    #4
    Yep, Hostgator supports it :)
     
    Romanos, Dec 15, 2007 IP
  5. soniqhost.com

    soniqhost.com Notable Member

    Messages:
    5,887
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    240
    #5
    I used Hostgator before and had a pretty good experience with them.
     
    soniqhost.com, Dec 16, 2007 IP
  6. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #6
    It's a pretty simple question for a host, so if they say they support it, and if it hasn't worked with three hosts, I think you might be doing something wrong.
     
    mjewel, Dec 16, 2007 IP
  7. marieg

    marieg Active Member

    Messages:
    695
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #7
    I don't think so because I bought the script here, Its working with others who bought it.
     
    marieg, Dec 17, 2007 IP
  8. iSmurf

    iSmurf Guest

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You could either go to another company that says mod_rewrite is enabled. I don't like hostgator for my own personal reasons but if that is your only option I think you should take it.
     
    iSmurf, Dec 17, 2007 IP
  9. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #9
    Il echo hostgator too. :)
     
    pipes, Dec 17, 2007 IP
  10. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #10
    Put this into your .htaccess:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]


    (Replace "yourdomain" with your actual domain and extension.

    The go to http://yourdomain.com without using the "www"

    If it automatically rewrites the url to include the "www" then you know mod_rewrite is enabled.
     
    mjewel, Dec 17, 2007 IP
  11. marieg

    marieg Active Member

    Messages:
    695
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #11


    Yes it automatically rewrites the url to include the "www". But why wont the script work?
     
    marieg, Dec 17, 2007 IP
  12. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hostgator does, In fact any host worth its salt will support mod_rewrite
     
    uglyboy, Dec 17, 2007 IP