The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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: "Alex Monaghan" <ha@xxxxxxx>
  • Date: Wed, 22 Jan 2003 08:55:47 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Much appreciated, I guessed I could possibly do it with the virtual host
feature, but was too lasy to read the docs at that time of night :-)

I'll have a look at the setup options. As for MySQL, this port is blocked by
the firewall so there's only local subnet access to it, just wanted to check
that there wasn't any obvious security hole via the PHP route (not that
there's anything secure, just don't want some kiddie playing with my toys !)

> -----Original Message-----
> From: K. C. Li [mailto:li@xxxxxxx]
> Sent: 22 January 2003 00:55
> To: ukha_d@xxxxxxx > Subject: Re: [ukha_d] [OT] Any Apache Gurus ?
>
>
> 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
>
>
>
> 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 http://docs.yahoo.com/info/terms/
>


Yahoo! Groups Sponsor
ADVERTISEMENT
HGTV Dream Home Giveaway

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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.