News Feed
Jobs Feed
Sections




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

RandomBugs.com:
Apache Dynamic Virtual Hosting and PHP security
June 07, 2011 @ 10:09:31

On the RandomBugs blog today there's a new post looking at some of the considerations made when setting up Apache and PHP for dynamic virtual hosting.

It's been a while since I configured the latest Dynamic Mass Virtual Hosting Server. Last time I used mod_vhost_alias to create a dynamic virtual hosting and it worked without any problem for what we need in that time. [...] Now, the problem is a little bit changed: We need a secure sever which should support ftp virtual users with quota and we don't have permission to change the packages, apply patches or recompile sources, because we need to be able to upgrade without to much stress.

Their biggest problem was dealing with the virtual users and handling the security for them to work with the files and hosts set up for them and only them. They tried both suPHP and a combination of mod_vhost_alias/php safe_mode/openbasedir but neither fit their needs. In the end it was mod_macro that did the trick with one caveat - you had to be more careful when adding the host to use the correct syntax in the configuration. It's split between multiple files and settings have to match across them.

0 comments voice your opinion now!
dynamic apache security hosting virtual tutorial


blog comments powered by Disqus

Similar Posts

NETTUTS.com: How to Authenticate Users With Twitter OAuth

Zend Developer Zone: Installing PHP4 and PHP5 Concurrently on One WinXP Computer

Bård Farstad\'s Blog: Compiling Apache and PHP on Mac OS X

PHPImact Blog: Refactoring the Front Controller of the Zend Framework

Enavu.com: PHP Smart Date Parsing: Natural Language Input (task.fm explained)


Community Events











Don't see your event here?
Let us know!


overview application code unittest hack podcast security example composer install introduction release package hhvm language framework symfony2 opinion facebook component

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework