Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

David Coallier's Blog:
SVN log-per-user parser using SimpleXML
Mar 27, 2007 @ 08:33:00

David Coallier has a quick hit post today on his blog. In it, he shows how, with a little bit of SimpleXML magic, to parse the log files from your Subversion installation.

Yesterday I was struggling trying to get svn log to display the results for a certain user and this was very annoying.. then I jumped on #svn on freenode, and someone mentionned svn log --xml

This apparently made my life much much easier with this simple script I have pulled in a couple minutes.

He includes the script and a brief set of instructions on how to use it in your installation.

tagged: subversion parser log file peruser simplexxml repository subversion parser log file peruser simplexxml repository

Link:

David Coallier's Blog:
SVN log-per-user parser using SimpleXML
Mar 27, 2007 @ 08:33:00

David Coallier has a quick hit post today on his blog. In it, he shows how, with a little bit of SimpleXML magic, to parse the log files from your Subversion installation.

Yesterday I was struggling trying to get svn log to display the results for a certain user and this was very annoying.. then I jumped on #svn on freenode, and someone mentionned svn log --xml

This apparently made my life much much easier with this simple script I have pulled in a couple minutes.

He includes the script and a brief set of instructions on how to use it in your installation.

tagged: subversion parser log file peruser simplexxml repository subversion parser log file peruser simplexxml repository

Link:

Ben Ramsey's Blog:
Peruser MPM for Apache
Dec 01, 2005 @ 07:12:35

In his quest for a secure method of server-side security in addition to PHP, Ben Ramsey stumbled across Peruser MPM, an Apache security module, seemingly with PHP in mind. In this latest blog post he details what lead him there.

A while back, when I was doing some research for a talk on server-side security for PHP, I looked into various "secure" methods for setting up a server for multiple users. Despite my search, I couldn’t find a simple and effective solution for managing a server with a large (and untrusted) user base (as is the case with many virtual hosting companies).

Sure, there’s PHP’s safe_mode, but its "safety" is misleading at best. There’s also open_basedir, which helps a little, but it’s not quite enough. For my research, I also looked at and tested mod_security, and the Hardened PHP Project’s Hardening Patch.

Eventually, through this comment, he found Peruser MPM, a module that runs each Apache process with its own user/group combination. He notes a few issues that it still has (breaking mod_ssl and making Apache less scalable), but overall, it does sound pretty cool...

tagged: apache peruser MPM unique user group security apache peruser MPM unique user group security

Link:

Ben Ramsey's Blog:
Peruser MPM for Apache
Dec 01, 2005 @ 07:12:35

In his quest for a secure method of server-side security in addition to PHP, Ben Ramsey stumbled across Peruser MPM, an Apache security module, seemingly with PHP in mind. In this latest blog post he details what lead him there.

A while back, when I was doing some research for a talk on server-side security for PHP, I looked into various "secure" methods for setting up a server for multiple users. Despite my search, I couldn’t find a simple and effective solution for managing a server with a large (and untrusted) user base (as is the case with many virtual hosting companies).

Sure, there’s PHP’s safe_mode, but its "safety" is misleading at best. There’s also open_basedir, which helps a little, but it’s not quite enough. For my research, I also looked at and tested mod_security, and the Hardened PHP Project’s Hardening Patch.

Eventually, through this comment, he found Peruser MPM, a module that runs each Apache process with its own user/group combination. He notes a few issues that it still has (breaking mod_ssl and making Apache less scalable), but overall, it does sound pretty cool...

tagged: apache peruser MPM unique user group security apache peruser MPM unique user group security

Link: