Using mod_rewrite with .html extension
Posted: Wed Nov 19, 2008 2:20 am
Hi,
Installed the software and everything was going groovy until i tried to enable SEF urls.
I set the parameters as follows in the config.php
$config['assume_mod_rewrite'] = true;
$config['page_extension'] = '.html';
$config['internal_pretty_urls'] = false;
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
I uploaded the .htaccess file in the documents folder that comes with the installation scripts without any changes at all.
I couldnt access my admin area, not the main page of the site,
403 Forbidden errors.
Im using version 1.4.1, Apache 2.2.6, Litespeed Web Server, not sure what php version but id imagine the latest.
Any help would be great, for the time being ive reverted back to the standard install without SEF.
Installed the software and everything was going groovy until i tried to enable SEF urls.
I set the parameters as follows in the config.php
$config['assume_mod_rewrite'] = true;
$config['page_extension'] = '.html';
$config['internal_pretty_urls'] = false;
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
I uploaded the .htaccess file in the documents folder that comes with the installation scripts without any changes at all.
I couldnt access my admin area, not the main page of the site,
403 Forbidden errors.
Im using version 1.4.1, Apache 2.2.6, Litespeed Web Server, not sure what php version but id imagine the latest.
Any help would be great, for the time being ive reverted back to the standard install without SEF.