Page 5 of 5

Re: [opgelost] Pretty URLS

Posted: Wed Sep 22, 2010 9:17 pm
by iStevo
arnoud wrote: Ik weet niet waar het mis gaat erg lastig zonder log files en inzicht in het .htaccess bestand  ???
# 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
# 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
#
RewriteRule ^event/$ /tsw2010/tsw2010-nl/ [R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
ik stuur u een pm met login voor adminpagina

Re: [opgelost] Pretty URLS

Posted: Wed Sep 22, 2010 9:44 pm
by Jos
Vooropgesteld, ik ben geen htaccess goeroe, maar ik lees in voorgaande posts dat je cmsms site draait in een subdirecory.

Heb je dan misschien deze regel over het hoofd gezien om aan te passen?

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /

Re: [opgelost] Pretty URLS

Posted: Thu Sep 23, 2010 7:33 am
by iStevo
Jos wrote: Vooropgesteld, ik ben geen htaccess goeroe, maar ik lees in voorgaande posts dat je cmsms site draait in een subdirecory.

Heb je dan misschien deze regel over het hoofd gezien om aan te passen?

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
neen, ik draai niet in een subdirectory.
edit: heb de htaccess even aangepast en een subfolder /event/ gemaakt die doorlinkt tot probleem is opgelost.