Page 1 of 1

[opgelost] pretty url ... werkt maar half

Posted: Mon Nov 08, 2010 7:32 pm
by pedes
ik kan zowel de paginas bereiken via pretty url (met 'contact' als voorbeeld): www.mijnsite.be/contact
maar ook via : www.mijnsite.be/index.php?page=contact

het probleem is dat mijn interne links niet als
/contact
werken (met 'contact' als voorbeeld), maar allemaal als
/index.php?page=contact
ik heb mijn config op:
$config['url_rewriting'] = 'mod_rewrite';
$config['use_hierarchy'] = true;
$config['query_var'] = 'page';
mij .htaccess op:
# 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 /
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#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]

iemand enig idee wat ik over het hoofd zie ?
ik gebruik CMSMS 1.8.2

Mvg,
Peter

Re: pretty url ... werkt maar half

Posted: Mon Nov 08, 2010 7:44 pm
by Rolf
Kan het zijn dat de interne links hardcoded zijn? Dus met Blah

grt. Rolf

Re: pretty url ... werkt maar half

Posted: Mon Nov 08, 2010 9:13 pm
by pedes
dag Rolf,

het is opgelost .... het is tijd dat ik in mijn bed kruip geloof ik
;D ;D

ik had de config niet op 666 gezet en tijdens het uploaden had ik er geen erg in dat de server de upload geweigerd had ... 'stoem ... heel stoem' ...  :-[

toch bedank voor de hulp, hier kan weer een slotje op.

grtz
Peter