on Linux; internal pages with file name index.htm

Discussion in 'Co-op Advertising Network' started by Mokum, Oct 24, 2005.

  1. #1
    Hello,
    Trying to get it 100% working but still have a problem.
    requesting the page with the ads via:
    http://mysitehere.com/folder/index.htm will result in showing the ads :)
    But
    http://mysitehere.com/folder/ will not show the ads. :confused:


    Now my .htaccess looks like this:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^$ /passthru.php?file=index.htm
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} ^(.*)\.htm [NC,OR]
    RewriteCond %{REQUEST_FILENAME} ^(.*)\.html [NC]
    RewriteRule ^(.*) /passthru.php?file=$1
    </IfModule>

    Is there any way to put in an extra rewrite rule or something else to change in the .htaccess file.....

    bytheway...
    http://www.mysitehere.com
    and
    http://www.mysitehere.com/index.htm
    both give the ads.

    Many thanks
    Peter
     
    Mokum, Oct 24, 2005 IP