Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: I understand nothing !!! (Topic Closed Topic Closed) Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dede
Newbie
Newbie


Joined: 24 September 2008
Location: France
Online Status: Offline
Posts: 33
Posted: 24 September 2008 at 10:59am | IP Logged  

Please help me !!!!!!!!!!!!

http://www.mysite/scat.asp?cat=36&scat=3

I wrote this rule :

RewriteBase /
RewriteRule ^Accessoire/?$ scat.asp?cat=36&scat=3 [NC,L]

Why this rule doesn't work ?

thanks

 



Edited by dede - 28 November 2008 at 9:14am
Back to Top View dede's Profile Search for other posts by dede
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1534
Posted: 24 September 2008 at 5:20pm | IP Logged  

Hi,
Can you provide your rewrite.log file?

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
dede
Newbie
Newbie


Joined: 24 September 2008
Location: France
Online Status: Offline
Posts: 33
Posted: 25 September 2008 at 2:28am | IP Logged  

There is noting is my rewrite.log.

I wrote this in httpd.conf :

# Helicon ISAPI_Rewrite configuration file

# Version 3.1.0.56

RewriteEngine on

RewriteBase /

RewriteRule ^Accessoire/?$ scat.asp?cat=36&scat=3 [NC,L]

 

My httpd is in C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf

and my site web is in another disk and this disk I have other web site ? There is no problem ???

 

Back to Top View dede's Profile Search for other posts by dede
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10483
Posted: 25 September 2008 at 5:54am | IP Logged  

Please put the following directive after RewriteEngine on to enable logging:
RewriteLogLevel 9
And provide us rewrite log records for the specific request.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
dede
Newbie
Newbie


Joined: 24 September 2008
Location: France
Online Status: Offline
Posts: 33
Posted: 25 September 2008 at 6:48am | IP Logged  

I do it.

But I have no log.

I wrote this :

RewriteEngine on

RewriteLogLevel 9

LogLevel debug

RewriteBase /

RewriteCond Host: (?:www\.)?mysite\.com

RewriteRule ^Accessoire/?$ scat.asp?cat=36&scat=3 [NC,L]



Edited by dede - 28 November 2008 at 9:14am
Back to Top View dede's Profile Search for other posts by dede
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10483
Posted: 25 September 2008 at 8:13am | IP Logged  

Please check permissions as per
http://www.helicontech.com/isapi_rewrite/doc/security.htm

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
dede
Newbie
Newbie


Joined: 24 September 2008
Location: France
Online Status: Offline
Posts: 33
Posted: 25 September 2008 at 9:17am | IP Logged  

Thanks a lot,

I've got the log. but my rule doesn't work

rewrite.log:

217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (2) init rewrite engine with requested uri /scat.asp?cat=36&scat=3
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (3) applying pattern '^Accessoire/?$' to uri '/scat.asp'
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (1) Htaccess process request f:\users\pocom\provence.outillage.com\htdocs\.htaccess
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (3) applying pattern '^Accessoire/?$' to uri 'scat.asp'
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (2) init rewrite engine with requested uri /scat.asp?cat=36&scat=3
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (3) applying pattern '^Accessoire/?$' to uri '/scat.asp'
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (1) Htaccess process request f:\users\pocom\provence.outillage.com\htdocs\.htaccess
217.128.144.106 217.128.144.106 CHROMINTERACT02\labo-srv3 Thu, 25-Sep-2008  15:49:04 GMT [www.provence-outillage.com/sid#391504156][rid#20272960/initial] (3) applying pattern '^Accessoire/?$' to uri 'scat.asp'

Back to Top View dede's Profile Search for other posts by dede
 
dede
Newbie
Newbie


Joined: 24 September 2008
Location: France
Online Status: Offline
Posts: 33
Posted: 25 September 2008 at 9:48am | IP Logged  

My problem is that

When i write http://www.mysite.com/Accessoire, the rewriting is well.

but when I click on the link in the site ,  the url :http://www.mysitecom/scat.asp?cat=36&scat=3 

Why I don't have http://www.mysite.com/Accessoire

thanks a lot for your help



Edited by dede - 28 November 2008 at 9:15am
Back to Top View dede's Profile Search for other posts by dede
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10483
Posted: 26 September 2008 at 2:44am | IP Logged  

OK, now I see what you want. Please try this config:

RewriteEngine on
RewriteLogLevel 9
LogLevel debug
RewriteBase /
RewriteCond Host: (?:www\.)?provence-outillage\.com
RewriteCond %{QUERY_STRING} ^cat=36&scat=3$ [NC]
RewriteRule ^scat\.asp$ Accesoire? [NC,R]
RewriteCond Host: (?:www\.)?provence-outillage\.com
RewriteRule ^Accessoire/?$ scat.asp?cat=36&scat=3 [NC,L]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
dede
Newbie
Newbie


Joined: 24 September 2008
Location: France
Online Status: Offline
Posts: 33
Posted: 26 September 2008 at 3:43am | IP Logged  

That's ok.

Thaks a lot for your help. You're great.

Thanks.

 

Back to Top View dede's Profile Search for other posts by dede
 

Sorry, you can NOT post a reply.
This topic is closed.

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum