[solved] Pretty URL Problem
Posted: Sat Feb 13, 2010 3:42 pm
Hi Guys,
Unfortunately I also have a problem getting pretty URL´s set up! I am sure its just a small problem... I am using version 1.6.1 (german)
I did not create a .htaccess file since this caused a 500 internal server error using this:
My config looks like this:
So far I am using the standard Template. I added the {metadata} here:
The .htaccess causes a 500 internal error
the edited config causes a http 404...

I hope you guys can help!
EDIT: when it is solved put [solved] in subject line...
Unfortunately I also have a problem getting pretty URL´s set up! I am sure its just a small problem... I am using version 1.6.1 (german)
I did not create a .htaccess file since this caused a 500 internal server error using this:
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# (this is important, so uncomment if your host permit)
#Options -Indexes
#ServerSignature Off
#
Options +FollowSymLinks
#
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /test/
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
My config looks like this:
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
So far I am using the standard Template. I added the {metadata} here:
Summary:.
.
.
.
{metadata}
{* start accessibility skip links *}
{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
{* end accessibility skip links *}
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page *}
{* logo image that links to the default start page. Logo image is changed in the style sheet "Layout: NCleanBlue" *}
{cms_selflink dir="start" text="$sitename"}
.
.
.
.
.
The .htaccess causes a 500 internal error
the edited config causes a http 404...

I hope you guys can help!
EDIT: when it is solved put [solved] in subject line...