skip to Main Content

ModSecurity SecRule RESPONSE_BODY doesn't work – Apache

I have Ubuntu 18.10 with apache2, libapache2-mod-security2, modsecurity-crs packages with their default configuration except for enabling ModSecurity debug logging and copying modsecurity.conf-recommended and adding SecRuleEngine On. I added a new SecRule to a separate file in /etc/modsecurity/ Content of /etc/modsecurity/sf4-modsec.conf…

VIEW QUESTION

Unable to connect to apache virtualhost

I have unizped codeigniter on /var/www/control_cuotas indx.php is placed on that folder and I settrd up a new virtualhost on apache on the 000-default.conf file whith this code <VirtualHost *:81> <Directory /var/www/control_cuotas> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all…

VIEW QUESTION

How to write RewriteRules for .htaccess? – Apache

I have a PHP file named as otp.php. When URL in the URL bar is http://localhost/college/otp/MTA=/teacher It should be treated as http://localhost/college/otp.php?user=MTA=&role=teacher For this, I created .htaccess file in http://localhost/college/: RewriteEngine On # Turn on the rewriting engine RewriteRule ^otp/?$…

VIEW QUESTION
Back To Top
Search