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.
Using mod_rewrite with .html extension
Re: Using mod_rewrite with .html extension
I think that htaccess in doc folder is relative to empty $config['page_extension']netbuddy wrote: I uploaded the .htaccess file in the documents folder that comes with the installation scripts without any changes at all.
Look in Documentation and in your error server log
Alby
Re: Using mod_rewrite with .html extension
Tried it again, left out the .html, no differance, still forbidden error
Re: Using mod_rewrite with .html extension
I managed to fix it, was my silly fault. I was uploading the wrong .htaccess to begin with, it was a comedy of errors, too many loose files from too many half completed projects. But now its all fixed.
The next step is finding a good template. I checked the full templates area, and they appear to be a bit thin on the ground.
The next step is finding a good template. I checked the full templates area, and they appear to be a bit thin on the ground.
Re: Using mod_rewrite with .html extension
Well, basically, you rarely need other templates than the standard ones.netbuddy wrote: The next step is finding a good template. I checked the full templates area, and they appear to be a bit thin on the ground.
Why? Because content and style are separated. You style your pages with CSS, not with templates. Templates are only for putting elements on the page.
If your basic page structure is, say, header - navi/content - footer, then you do not need a different template to achieve a different look. Just style it with CSS. Tipp: Install the "web developer extension" for FireFox. It lets you change CSS in realtime(!) on the screen.
hth,
Alex