Questions tagged [rules]

This tag is very broad, try being more specific by using tags relevant to your problem. Examples are "rule-engine" for rules engines, "url-rewriting"/"mod-rewrite" for rewrite rules or "form-validation" for validation rules. See the full wiki article for a more complete list.

Rules are used to describe a requirement for data or behavior in software.

If a more specific tag exists for the subject of your question, please use that tag to better contact experts familiar with that technology.

1666 questions
0
votes
1 answer

htaccess complex setup for SSL proxy for images

I need a help to setup a complex .HTACCESS rule. My site (abc.com) has SSL setup. The gallery images are hosted in an external site pqr.com, it doesn't have SSL. I want, if my site (abc.com) is opened in ssl (that is https://abc.com) the external…
Ayan Don
  • 99
  • 2
  • 8
0
votes
2 answers

GNU Makefile - Generic Makefile for several targets

I am currently developing a little C++ package with small code examples for teaching purposes. I managed to write a Makefile like the following that will compile all *.cpp files to *.o files an link them to executables: CC=gcc CFLAGS=-g LDFLAGS=…
0
votes
1 answer

drupal 7 access control set in content type

So I am trying to set per node access based on a checkbox field in the content type. I would like to use Rules to set the access depending on what is selected in the checkboxes. For example I create a new page and I have theoptions of check a box…
0
votes
1 answer

Empty rules in snortrules snapshot

I configured to install Snort on my Ubuntu 12.04 which also included Barnyard2 and BASE installation. I am using the downloadable rules on Snort's website which requires me to sign up there to get the oinkcode. But however, after I investigate the…
prameshvari
  • 241
  • 1
  • 3
  • 11
0
votes
1 answer

SAS rulegen DMDB encoded type

I am trying to run example code from SAS proc rulegen documentation: proc dmdb batch data=sampsio.assocs out=dmassoc dmdbcat=catassoc; id customer; class product(desc); run; proc assoc data=dmassoc dmdbcat=catassoc out=datassoc(label='Output…
ajanie
  • 1
  • 2
0
votes
2 answers

drools working with dates

In official documentation I can't find any information how to write conditional statements for java.util.Date type fact fields in guided rules. For example how to compare such field to current date, check if it is equal omitting time, or check if it…
jinalu
  • 21
  • 1
  • 4
0
votes
1 answer

How to export and import a set of rules selected from the predefined rules in the rules configuration of the Eclipse Plugin PMD?

I am using the plugin PMD for Eclipse and have zeroed in on a set of rules preexisting in my PMD rules configuration. I want to share these set of rules with my team mates . But when i try and export the Rules from PMD, it either exports only one…
keya_2008
  • 1
  • 2
0
votes
1 answer

Cannot Set Properties on MailItem

I have setup a rule to run yuno on anything with "Test1" as the subject (I restarted after setting this up): My code looks like this: Sub yuno(ByRef mymail As MailItem) mymail.MarkAsTask olMarkToday mymail.TaskDueDate = Now …
Jonathan Mee
  • 37,899
  • 23
  • 129
  • 288
0
votes
1 answer

How to identify the item when using a script

I have generated a rule which then actions a SCRIPT. I want to get details from the identified email message - i.e. the body then output to a file that can be read elsewhere. My logic sort of works but I am currently retrieving the contents of the…
0
votes
1 answer

User Defined Rules in a Web Application

I'm required to implement a notification system integrated to a web application (JavaScript + PHP). Notifications should be fired based on user-defined rules. I don't have experience with rules engines and building rules. Therefore, I don't know…
Shad
  • 205
  • 4
  • 11
0
votes
1 answer

Rewrite rule help should be simple but not for a newbie like me

My oroginal url looks like this http://www.example.com/showads.php?type=1 And this rewrite seems to work RewriteRule ^listings/type/([0-9]+)/?$ showads.php?adtype=$1 [NC,L] So that all I have to do is type www.example.com/listings/type/1 and it…
0
votes
1 answer

Comparing Object (facts) in working memory in drools

I am reading an excel sheet through DRT (rule template) and then converting it in to Object of a class through a static method in Java class. and also inserting it in to working memroty. In this way, working memory is filled up with all the facts…
Kumar
  • 955
  • 5
  • 20
  • 50
0
votes
2 answers

Where can I find the iptables rules in CentOS 7?

I just installed CentOS 7 and I need to modify some existing iptables rules, but I cannot find the file where these rules are. Can you please help me find where are the default rules that are loaded once the system boots? Thank you
Lucian
  • 115
  • 2
  • 12
0
votes
2 answers

Outlook 2010 Running Rules on Outlook Data File

I've used Thunderbird and now moving across to Outlook 2010, PC is Windows 7 Professional, 64 bit machine but I use 32 bit Office 2010. I have 8 email addresses including 4 gmail addresses: all are IMAP. No exchange servers. I believe that with…
user3898811
0
votes
2 answers

How modify guvnor in kie workbench

I have a question. I have a modified version of guvnor 5.2 (by me). I would substitute the actual version of guvnor in Kie-wb with mine. Can i do this?. Eventually there is a folder where I can modify guvnor's files. I don't found guvnor folder…
user3635910
  • 13
  • 1
  • 3
1 2 3
99
100