Page 1 of 1

How to enable mod_rewrite for Calendar 0.78

Posted: Tue Aug 14, 2007 4:58 am
by yankee80
Hi all,

CMSMS 1.06 niihau (ma?)
Calendar 0.78
Apache + PHP4.x

I followed the excellent guide on how to enable mod_rewrite for CMSMS and it worked like a charm for the News module. However for the Calendar module the URL:s still show up like:

http://www.professorthailand.com/index. ... eturnid=56

I've disabled the internal pretty url scheme to get rid of the /index.php/ in the URLs

All answers are very appreciated

All the best
Eric

Here is my .htaccess
---------

mod_gzip_item_exclude mime ^text/css

Options +FollowSymLinks
RewriteEngine on
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 [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]


---------