.htaccess problem - index.html


My site is not accessable at www.landsat.com/index.html,

but is at www.landsat.com.

I setup my site in a sub-directory, them moved it to the root directory.

Here is what my .htaccess file looks like…

DirectoryIndex index.php index.html

RewriteEngine on

Some hostings require RewriteBase to be uncommented


Your store url is [url]http://www.yourcompany.com/store/cart[/url]

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]

Thanks for any help,


You need to edit the config.local.php file to reflect the changes.

Her is what the config.local.php looks like.

// Host and directory where software is installed on no-secure server

$config[‘http_host’] = ‘www.landsat.com’;

$config[‘http_path’] = ‘’;

// Host and directory where software is installed on secure server

$config[‘https_host’] = ‘www.landsat.com’;

$config[‘https_path’] = ‘’;

Any help would be apprciated,


Don’t ask me what I was thinking. Mine doesn’t work under index.html either and I am not sure why it should.

Not the best fix, but it works.

ADDED TO .htaccess

Redirect /index.html [url]GIS Data - Aerial Photography, USGS Topo Maps, & Air Photo Maps