Pretty URL's fout
Posted: Wed Oct 13, 2010 8:40 am
Goedemorgen,
ik ben voor het eerst begonnen met CMSMS voor een site van een vriend: http://www.de-nobodys.nl/ (Let nog maar niet op de lay-out
deze kan nog wijzigen).
Nou wil ik pretty url's gebruiken. Alleen geeft hij (zoals je kan zien) bij de pagina's "team" en "test" een foutmelding.
Dit is wat ik heb:
Config.php
iirf.ini (.htaccess accepteert sohosted niet)
Echter krijg ik gewoon de melding:
"Not Found, The requested URL was not found on this server."
Waar kan dit aan liggen?
ik ben voor het eerst begonnen met CMSMS voor een site van een vriend: http://www.de-nobodys.nl/ (Let nog maar niet op de lay-out

Nou wil ik pretty url's gebruiken. Alleen geeft hij (zoals je kan zien) bij de pagina's "team" en "test" een foutmelding.
Dit is wat ik heb:
Config.php
Code: Select all
$config['url_rewriting'] = 'mod_rewrite';
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page'
iirf.ini (.htaccess accepteert sohosted niet)
Code: Select all
# 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
#
<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /
#
# 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]
</IfModule>
"Not Found, The requested URL was not found on this server."
Waar kan dit aan liggen?