From: Shaun M. <sh...@ae...> - 2005-09-20 22:48:12
|
And I'll add that I usually use these mod_rewrite rules... RewriteRule ^announcement([1-9][0-9]*).html$ index.php? module=announce&ANN_user_op=view&ANN_id=$1&%{QUERY_STRING} RewriteRule ^page([1-9][0-9]*).html$ index.php? module=pagemaster&PAGE_user_op=view_page&PAGE_id=$1&%{QUERY_STRING} RewriteRule ^photoalbum.html$ index.php? module=photoalbum&PHPWS_AlbumManager_op=list&%{QUERY_STRING} RewriteRule ^photoalbum([1-9][0-9]*).html$ index.php? module=photoalbum&PHPWS_AlbumManager_op=view&PHPWS_MAN_ITEMS[]=$1&% {QUERY_STRING} RewriteRule ^calendar-event([1-9][0-9]*).html$ index.php? module=calendar&calendar[view]=event&id=$1&%{QUERY_STRING} RewriteRule ^bbforum([1-9][0-9]*).html$ index.php? module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=$1&% {QUERY_STRING} RewriteRule ^bbthread([1-9][0-9]*).html$ index.php? module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=$1&%{QUERY_STRING} ...which I think were from Eloi's hack but I've not used the other half of his hack for fear of later upgrade problems and having to hack the hack back in every release. The pagemaster rule is particularly useful as I can easily remember page11.html is my order page or page15.html is my server page. I'm more likely to remember that than remember I've bookmarked it. ;-) Shaun aegis design - http://www.aegisdesign.co.uk aegis hosting - http://www.aegishosting.co.uk |