Reply
I need help with IIS mod_rewrite and CNCat
Old 03-29-2006, 12:23 AM I need help with IIS mod_rewrite and CNCat
Skilled Talker

Posts: 95
Trades: 0
I use IIS mod_rewrite and CNCat 2.1 from cn-software.com.
I use IIS 5.0 and PHP 5.1.2

I want to use Search Friendly Urls but everytime I do that I have to write a whole list of urls to rewrite

like this example:

RewriteRule ^/dir/diritem1/ /index.php?o=0&c=1
RewriteRule ^/dir/diritem1/ /index.php?o=1&c=1
RewriteRule ^/dir/diritem1/ /index.php?o=2&c=1

RewriteRule ^/dir/diritem2/ /index.php?o=0&c=2
RewriteRule ^/dir/diritem2/ /index.php?o=1&c=2
RewriteRule ^/dir/diritem2/ /index.php?o=2&c=2

I want to use this where all I have to do is write this once:

RewriteRule ^/dir/(.*) /sefriendly.php

What I was wondering is how can I make it to where every time I add a category in the admin area the Category works and none of this adding more to the list.

I accidently deleted this list and I don't want to rewrite the list again

How can I make this easier?

Last edited by hyipo; 03-29-2006 at 12:38 AM..
hyipo is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 03-29-2006, 02:04 AM Re: I need help with IIS mod_rewrite and CNCat
chrishirst's Avatar
Super Moderator

Posts: 26,499
Location: Blackpool. UK
Trades: 0
Knowing which URL rewriting component you are using would help to get you an answer
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | Crowded Nightclub? | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-29-2006, 02:44 PM Re: I need help with IIS mod_rewrite and CNCat
Skilled Talker

Posts: 95
Trades: 0
I don't know which could be writing urls. Do you have any sugestions. Could it be sefriendly.php. Does this mean I have to use apache to write urls?
hyipo is offline
Reply With Quote
View Public Profile
 
Old 03-30-2006, 01:11 AM Re: I need help with IIS mod_rewrite and CNCat
chrishirst's Avatar
Super Moderator

Posts: 26,499
Location: Blackpool. UK
Trades: 0
To do do "SE Friendly" URIs on IIS normally requires a component to be installed on the server, ISAPI_Rewrite being the most well known.

whatever CNCat is, it probably uses the apache mod_rewrite module.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | Crowded Nightclub? | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to I need help with IIS mod_rewrite and CNCat
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10718 seconds with 13 queries