Subdomain vs Rewrite Rule

Discussion in 'Apache' started by AndrehChamber, Sep 7, 2010.

  1. #1
    How can I do the PROPER rewrite rule for the following:

    http://subdomain.domain.com/index.html to http://subdomain.domain.com/index.php ?

    Tried

    Options -Indexes
    RewriteEngine on
    RewriteRule index.html index.php

    But are not working, I only got a 404 Error.

    Thanks!
     
    AndrehChamber, Sep 7, 2010 IP