Hello,
Yesterday I successfully upgraded Apache from 1.3 to 2.2
I have manage to build apache with new modules like : new mod_security, mod_bandwith, uniqueid, suphp (replacement for phpsuexec), etc.
Problems on what I encountered are :
1. php_flags on users .htaccess - my users can't use php_flags anymore, instead they can place they're own php.ini in public_html (correct me if I'm wrong) and use they're custom php settings. If your users use php_flags it will result Internal server error.
2. suphp and fcgi - If you are using suphp or fcgi and your users use files chmoded to 777 or 666, you must change files to 644 and folders to 755 or else you will get Internal server error. I have manage to write few lines which will automatically chmod folders and files :
Files :
Folders :Code:REMOVED by MODS as this may break your server, see next post.
3. Mod_security 2 - With apache2 you can add new mod_security module, and you need new rulset since they are changed from version 1. You can find ruleset in attachment. I found this ruleset here on forum, but I can't find link anymoreCode:find /home/*/public_html -type d -exec chmod 755 {} \;, so I'm posting it here in my post.
I had to do those stuff and everything is ok for now. I will replay if I encounter any other problem.
Please post you experience.



LinkBack URL
About LinkBacks
, so I'm posting it here in my post.
Reply With Quote










