Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: 2 sites - should I be running 2 httpd’s? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jondicks
Newbie
Newbie


Joined: 22 September 2008
Online Status: Offline
Posts: 2
Posted: 22 September 2008 at 8:53am | IP Logged Quote jondicks

hi there.

we have been running isapi rewrite on our servers for
some time now, and all is well and we have managed to
perform the rewriting tasks which were required.

however, after reading through some information about a
month ago - I realised that we may have got it setup
wrong, for performance issues.

I remember reading somewhere (cant remember where) that
it is not wise to run all of your rewrites in the main
global httpd.ini file and that this should be kept as
minimal as possible for performance issues, all other
specific (not wildcard) rewrites should be stored within
another file which is relevant to the domain / website
you are writing.

IS THIS TRUE???
I cant find the information I was reading anywhere, and
therefore cant figure out what to do for the best.

my httpd.ini file is currently 791 lines long and is
written for 2 sites, what is the best way for me to have
this structured?? does it have an performance
implications??

help!
Back to Top View jondicks's Profile Search for other posts by jondicks
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 23 September 2008 at 11:05am | IP Logged Quote Lexey

Yes, it would be better to split your rules into 3 sets:
1) rules common for both sites
2) rules specific to the 1st site
3) rules specific to the 2nd site.

1st set should be left in the global httpd.ini while 2nd and 3rd to be moved to separate site-level httpd.ini's. Since you have a lot of rules this change could significantly reduce rules processing time.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
jondicks
Newbie
Newbie


Joined: 22 September 2008
Online Status: Offline
Posts: 2
Posted: 23 September 2008 at 11:15am | IP Logged Quote jondicks

lexey - thanks for the reply.

so would in theory we would have 3 httpd.ini files -
each with their own rule sets.

2 in the root of the individual web folders and one in
the program files folder.
Back to Top View jondicks's Profile Search for other posts by jondicks
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 23 September 2008 at 12:09pm | IP Logged Quote Lexey

Right.
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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 cannot vote in polls in this forum