mod_rewrite Issues

Discussion in 'Apache' started by JuggernautH, Dec 1, 2006.

  1. #1
    Hi, recently bought a vps for my sites and apparently the mod_rewrite does not work on it.
    Anyone that can help me out with this problem? I have no clue what the problem is :(


    Any help appriciated!
     
    JuggernautH, Dec 1, 2006 IP
  2. fastback72

    fastback72 Peon

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it may be possible to use php to do the rewriting rather than rely on apache. your vps host should be able to insert a simple rewrite all to the index.php page and then redirect from there to your content pages. did i understand you correctly when you said 'vps'? (virtual private server)
     
    fastback72, Dec 1, 2006 IP
  3. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #3
    Do this test.

    domain.com/.htaccess

    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^wacko\.html$ index.XXX [L]

    domain.com/wacko.html should show the index page if it work. (Change XXX to the extention of the real index page.)
     
    Nintendo, Dec 1, 2006 IP