Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-10-09 08:55:33
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,315
clean urls with Microsoft-IIS/7.0 server
is it to difficult to get clean urls work with Microsoft-IIS/7.0 server?
Offline
Re: clean urls with Microsoft-IIS/7.0 server
nobody knows nothing about this..?
Offline
Re: clean urls with Microsoft-IIS/7.0 server
Looking into this myself yesterday. Any tips or info would be of great help on a project I’m currently working on for a client on IIS.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: clean urls with Microsoft-IIS/7.0 server
so in this article is a little help.
you have to install & regsiter IsapiRewrite4.dll on the server and instead of the .htaccess you need a IIRF.ini file in your root directory.
in my basic installation this is its content
# IsapiRewrite4.ini
#
# ini file for the ISAPI rewriter.
#
# This one tests the stripping of paths from the requested URL
#
# Tue, 11 Jul 2006 01:49
#
RewriteLogLevel 5
StatusInquiry ON
#
# This ini file illustrates the use of RewriteCond to redirect
# requests arriving for differenthosts, into different
# subdirectories.
RewriteRule /about/(\d+)/(.*) /index.php\?id=$1
RewriteRule /about(/*)$ /index.php\?s=about
RewriteRule /about/\?c=(.*) /index.php\?s=about\&c=$1
RewriteRule /articles/(\d+)/(.*) /index.php\?id=$1
RewriteRule /articles(/*)$ /index.php\?s=articles
RewriteRule /articles/\?c=(.*) /index.php\?s=articles\&c=$1
watch for the section, dont ask me why, but each section has to have its own condition. at least this is how it works over here right now..
if someone has a dynamic condition, post it here plz!
Offline