This commit is contained in:
vasco
2026-05-31 19:30:39 +01:00
parent 183901ab31
commit aa58c0cb1d
3 changed files with 6 additions and 4 deletions

View File

@@ -55,6 +55,10 @@ if [[ ! -f "$jspath/package.json" ]]; then
sudo chown -R $USER:$USER "$jspath"
fi
sudo systemctl stop httpd
# correr juice shop via npm
cd "$jspath"
npm start
npm start &
httpd -X

View File

@@ -7,8 +7,6 @@ Group apache
Include conf.modules.d/*.conf
Include conf/modsecurity.conf
# IncludeOptional modsecurity.d/*.conf
# IncludeOptional modsecurity.d/activated_rules/*.conf
<Directory />
AllowOverride none

View File

@@ -1,4 +1,4 @@
SecRuleEngine Off
SecRuleEngine On
SecRequestBodyAccess On
SecResponseBodyAccess Off
#SecDebugLog /var/log/modsecurity/debug.log