Terminate global script but continue Local script
4 posts
• Page 1 of 1
Terminate global script but continue Local script
I have a very complex Global script I have written that about 20 sites share.
I have a site I'm migrating from another server and I do not want the global script to run on this site.
* Is there a way to terminate the processing of the global asapi script but continue running the local asapi script. *
I would rather not support the global script over the 20 local sites I currently have on this server.
Any thoughts or options would be appreciated.
I have a site I'm migrating from another server and I do not want the global script to run on this site.
* Is there a way to terminate the processing of the global asapi script but continue running the local asapi script. *
I would rather not support the global script over the 20 local sites I currently have on this server.
Any thoughts or options would be appreciated.
Re: Terminate global script but continue Local script
Looking through the documentation I see the directive for skip next n rules [S=num]
Does this skip the next n rules in the current script or the next n rules in all scripts (both global directory local).
If this skips the next rules in the current script I could just issue [S=1000] or any number larger than the maximum number of rules in my global script.
Would this work????
Does this skip the next n rules in the current script or the next n rules in all scripts (both global directory local).
If this skips the next rules in the current script I could just issue [S=1000] or any number larger than the maximum number of rules in my global script.
Would this work????
- suntattood
- Posts: 27
- Joined: 04 Dec 2012, 21:06
Re: Terminate global script but continue Local script
Have you tried using this rules and can tell us if it worked or not?
Re: Terminate global script but continue Local script
Hello,
You can put the rules that are used by these 20 sites into VirtualHost section in httpd.conf and list all the host names for which they should apply:
<VirtualHost site1.com site2.com etc>
...
</VirtualHost>
You can put the rules that are used by these 20 sites into VirtualHost section in httpd.conf and list all the host names for which they should apply:
<VirtualHost site1.com site2.com etc>
...
</VirtualHost>
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 62 guests