Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: WinServer 2003, osCommerce & SEO URLs Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
stav
Newbie
Newbie


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 10:02am | IP Logged Quote stav

i recently moved from Linux to Windows IIS dedicated server
(1 to a mil, that is doing that :) )

im completly new to rewrite stuff... i bought isapi rewrite 3

some newbie questions:
1.how do i check if my rewrite's setup is correctly?
2.where do i put the functions? (somewhere i read about httpd.conf insteed of .htaccess)
3.how can i do my osCommerce with the SEO Urls back to normal as it was when i had linux

Thank you all

osCommerce version:2.2rc2a
Ultimate SEO URLs version: 2-2.2
IIS version: 6
ISAPI Rewrite version: 3

 

Back to Top View stav's Profile Search for other posts by stav
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 673
Posted: 07 October 2008 at 10:17am | IP Logged Quote Vyacheslav

Hi,
Please write these lines to your httpd.conf:
Code:
RewriteLogLeve 9
LogLevel debug


Now you may try to write some simple rules in .htaccess file for a directory level or in httpd.conf file for a server level.
Then please make some requests for testing your rule.
If ISAPI_Rewrite was installed properly, then you should see some records in rewrite.log and error.log files. Also, if there are some errors, then you can get some useful information from rewrite.log and error.log files.

Please also see this page for more information:http://www.helicontech.com/forum/forum_posts-TID-10648.htm

__________________
Kind regards!
Vyacheslav Shinkarenko, HeliconTech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
stav
Newbie
Newbie


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 10:42am | IP Logged Quote stav

where i edit/create the httpd.conf file?

 

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


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 10:49am | IP Logged Quote stav

i pu the httpd file inside website's root... and i find the error.log inside C:\Program Files\Helicon\ISAPI_Rewrite3

is this normal?

also inside error.log is written "[4/10/2008 23:51:42] ISAPI Filter loaded. Version 3.1.0.56. Windows 5.2 (Build 3790 ServicePack:2) ProductType SERVER. CPU type INTEL  NumberOfProcessors 4."

for 1000 of time

nothing inside rewrite.log

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


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 12:41pm | IP Logged Quote stav

i cant get it...

so far i understand that:

1. we use httpd.conf for server rules
2. we use httpd.ini for website's rules and we put it in website's root

where do i put the rule (and which rule should i give) that will give me: http://www.mydomain.com/everloc-c-51.html

when i call
http://www.mydomain.com/index.php?cPath=51

thanks again

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


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 12:42pm | IP Logged Quote stav

 

@Vyacheslav : the installation is correct

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


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 4:27pm | IP Logged Quote stav

After some hours of re-searching:

1. you dont have support AT ALL
2. Begging people asking your help for your product all over the internet
3. most of your clients have reached you because of the SEO URLs and you dont even have a decent manual for that

4. i couldn't install your product for every site, so i put all the rules i  found in the httpd.conf for all my sites... is this correct?

5. i cant stop the error.log

6. How to convert this :
index.php?cPath=85&sort=2a&page=2
to this:
bosch-c-85.html?page=2&sort=2a

im already using :
RewriteRule ^(.*)-c-(.*).html\?(.*)$ /index.php\?cPath=$2&$3

BUT the second page doesn't loaded at all, insteed it get me back to  page1

thanks



Edited by stav - 07 October 2008 at 4:57pm
Back to Top View stav's Profile Search for other posts by stav
 
stav
Newbie
Newbie


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 4:34pm | IP Logged Quote stav

solution 6:

RewriteRule ^(.*)-c-(.*).html\?(.*)$ /index.php\?cPath=$2&$3&%{QUERY_STRING}



Edited by stav - 07 October 2008 at 4:34pm
Back to Top View stav's Profile Search for other posts by stav
 
stav
Newbie
Newbie


Joined: 07 October 2008
Location: Greece
Online Status: Offline
Posts: 9
Posted: 07 October 2008 at 5:16pm | IP Logged Quote stav

possible solution 5

make use of

ErrorLog "C:\local\path\error.log"

and point it somewhere that cannot write

ps. wait the comment of admin first, im not sure about that

 

Back to Top View stav's Profile Search for other posts by stav
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 08 October 2008 at 3:51am | IP Logged Quote Anton

Hello stav,
firstly, sorry for not an immediate reply.
I'll try to answer your questions:
You don't need to install ISAPI_Rewrite for every site - ISAPI_Rewrite should be installed on server level (and it is automatically installed
that way). To apply configuration to a particular site you need to put .htaccess file into the root of corresponding site and write necessary
rules inside.

If you want to apply the rules to all sites on your server, you may use httpd.conf file.

To stop logging please put the following directive into httpd.conf:
LogLevel crit

The rule for you should look like:

RewriteBase /
RewriteRule ^[^-]+-c-(\d+)\.html$ /index.php?cPath=$1 [NC,L,QSA]


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

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  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