Apache path error apache_mod_security.inc with fix
-
Sorry,
Im using Proxy Server with mod_security 0.1.7 in PFsense 2.2.4
Im do the fix suggested in this post but didn't work, the only solution for my was copy the virtual host section from:
/usr/local/etc/apache22/httpd.conf ```into
/usr/pbi/proxy_mod_security-i386/etc/apache22/httpd.conf
And start httpd from console to work correctly. If made any change form webui i get this error
php-fpm: /pkg_edit.php: The command '/usr/local/sbin/httpd -t' returned exit code '1', the output was 'httpd: Syntax error on line 107 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_cgi.so into server: Cannot open "/usr/pbi/proxy_mod_security-i386/local/libexec/apache22/mod_cgi.so
Sorry, i'm do a mistake in my previous post.
-
Im using Proxy Server with mod_security 0.1.7 in PFsense 2.2.4
After looking at the package, I'd rather not comment on the code. The apache_mod_security-dev v0.1.7 variant should take about a day to fix. The apache_mod_security-dev thing, I don't think I have time nor patience to be digging in about 5 times the amount of code compared to the non-dev variant.
As it is, chances of the code working are about zero.
EDIT: Broken garbage fixes here: https://github.com/pfsense/pfsense-packages/pull/1069
-
Merged. Kindly test with 0.1.8 and report what's still broken.
-
Hi im upgrade to 0.1.8 but problems still persist
the changes made from ui are writing to /usr/pbi/proxy_mod_security-i386/etc/apache22/httpd.conf but , mod_security is not loaded or applied, and i cant start httpd service from webui (php-fpm: /pkg_mgr_install.php: The command '/usr/pbi/proxy_mod_security-i386/local/sbin/httpd -t' returned exit code '1', the output was 'Shared object "libaprutil-1.so.0" not found, required by "httpd"')
and when i need to start from console say that de mod_cgi is not exist, so i edit manualy /usr/pbi/proxy_mod_security-i386/etc/apache22/httpd.conf and add a comment to the line #LoadModule cgi_module libexec/apache22/mod_cgi.so
and start from console the service.
PF 2.2.4 i386
Proxy Server with mod_security 0.1.8 -
Upgrade is useless. You need to
- uninstall
- reinstall
- resave the configuration of the package
to have any chance to see the changes. Upgrade -> not working for any similar install fixes.
-
Hi, thanks for the quick reply.
Im tried reinstalling the package but didn't work.
-
https://github.com/pfsense/pfsense-packages/pull/1157 - final time I'm touching this. When 0.1.9 gets merged, preferably try this on a box which never had the previous clusterfuck installed.
Doesn't work? Wait for 2.3, noone has time to deal with the PBI shit. Sorry.
-
ok, thanks for your time, ETA to 2.3 ?
-
Shrug; there are alpha snapshots available. Sure like hell completely unsuitable for production. :D
-
Im test in a VM, looks amazing, great job!! but is too risky to use it in a production eviroment and i dont see apache+modsecurity in the packages to install.
-
0.1.9 merged - good luck :P