|
The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024
|
Latest message you have seen: RE: PIR control of lights |
[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: [OT] Any Apache Gurus ?
- To: ukha_d@xxxxxxx
- Subject: Re: [OT] Any Apache Gurus ?
- From: "K. C. Li" <li@xxxxxxx>
- Date: Wed, 22 Jan 2003 00:54:57 +0000 (GMT)
- Mailing-list: list ukha_d@xxxxxxx; contact
ukha_d-owner@xxxxxxx
- Reply-to: ukha_d@xxxxxxx
On Tue, 21 Jan 2003, Alex Monaghan wrote:
> Is this quick and easy to do ?
It is straightforward to do. eg. To set up two virtual hosts listening
to different ports and having different doc roots on Apache v1.3:
[Other Apache params]
Listen 1.2.3.4:80
Listen 1.2.3.4:443
[More Apache params]
<VirtualHost 1.2.3.4:80>
ServerName www.mydomain.com
ServerAdmin webmaster@xxxxxxx
DocumentRoot /my/doc/route/html
ErrorLog /my/log/route/logs/error_log
TransferLog /my/log/route/logs/access_log
</VirtualHost>
<VirtualHost 1.2.3.4:443>
ServerName www.mydomain.com
ServerAdmin webmaster@xxxxxxx
DocumentRoot
/my/doc2/route/html
ErrorLog
/my/log/route2/logs/error_log
TransferLog
/my/log/route2/logs/access_log
</VirtualHost>
I have simplified the configuration parameters greatly for illustration
purposes only.
> Any obvious security holes with running PHP accessing a Mysql
database
> through this method ?
It shouldn't be providing the MySQL default port of 3306 is closed and
PHP
is communicating with it using localhost or via a socket. If security
is
important, you should consider putting everything into a chroot jail
for
added protection but the set up is quite involved.
Regards,
Kwong Li
li@xxxxxxx
Laser Business Systems Ltd.
http://www.laser.com
Yahoo! Groups
Sponsor |
ADVERTISEMENT
| |
|
http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe: ukha_d-subscribe@xxxxxxx
Unsubscribe: ukha_d-unsubscribe@xxxxxxx
List owner: ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Home |
Main Index |
Thread Index
|
|