Current time: 07-03-2024, 11:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
SecRuleEngine Off Pfad für Domain, Sub und Alias
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
SecRuleEngine Off Pfad für Domain, Sub und Alias
Ich muss für ein Drupal Project modsecurity2 excluden ...
Ist das so richtig mit dem Pfad?

PHP Code:
<LocationMatch "/domain.tld/htdocs/">
SecRuleEngine Off
</LocationMatch>

<
LocationMatch "/domain.tld/shop/htdocs/">
SecRuleEngine Off
</LocationMatch
(This post was last modified: 03-23-2009 01:05 AM by fulltilt.)
03-23-2009 01:04 AM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #2
RE: SecRuleEngine Off Pfad für Domain, Sub und Alias
Hat wirklich niemand eine Lösung?
Der Pfad ist so nicht richtig ... klappt also nicht Sad
Code:
<LocationMatch "/domain.tld/htdocs/">
SecRuleEngine Off
</LocationMatch>

<LocationMatch "/domain.tld/shop/htdocs/">
SecRuleEngine Off
</LocationMatch>
03-23-2009 08:39 PM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #3
RE: SecRuleEngine Off Pfad für Domain, Sub und Alias
Ist das innerhalb des Virtualhosts ?

Ich denke der Match bezieht sich auf das was hinter der URL steht.

http://meine-domain.de/shop/

Code:
<LocationMatch "^/shop/*">
    ...
  </LocationMatch>

Also keine absoluten Pfade. http://www.uracad.kharkiv.edu/manual/de/...ationmatch

Gruß Knut
03-23-2009 09:04 PM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #4
RE: SecRuleEngine Off Pfad für Domain, Sub und Alias
Danke Knut,

und bei der Hauptdomain wäre es dann:
<LocationMatch "/domain.tld">
?

Gruss

(03-23-2009 09:04 PM)Knut Wrote:  Ist das innerhalb des Virtualhosts ?

Ich denke der Match bezieht sich auf das was hinter der URL steht.

http://meine-domain.de/shop/

Code:
<LocationMatch "^/shop/*">
    ...
  </LocationMatch>

Also keine absoluten Pfade. http://www.uracad.kharkiv.edu/manual/de/...ationmatch

Gruß Knut
03-23-2009 09:11 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)