Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

Re: [PHP3] 2nd Apache Server Security Implications From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/17/99

> How can I effectively set up two security realms? I would much
> prefer to use the module version of PHP, not a CGI binary, for speed reasons.
> Assuming that the file permissions on my content are only set to r/w for
> Apache's user/group (and other files on the system have reaonable
> permissions), what are the security implications of running a second Apache
> webserver with PHP on my machine under a different user/group than the
> first?? What am I forgetting / missing?

Nothing. You can easily run two Apache server's. They either need to
listen to different ports, or you need to assign the machine two ip's if
you want both of them to answer on the standard port 80.

You could also do a mod_rewrite trick to redirect any requests that come
in on port 80 of the first server to port 81 which is where your server
would be sitting, for example. The actual mod_rewrite rule to do this is
somewhere in the list archives.

-Rasmus

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>