On Sun, Oct 28, 2012 at 04:04:36PM +1100, jupiter wrote: > <VirtualHost *:80> > ServerName 192.168.1.101 > DocumentRoot /tmp > </VirtualHost> > > The 8080 works, but 80 got an error of "Permission denied: file > permissions deny server access: /tmp/index.html". I don't see any > permission problems: Apache may be prevented from directly accessing /tmp by another security layer such as SELinux or AppArmor. Having /tmp as a DcoumentRoot is almost never a good idea, so why not make your second DocumentRoot /var/www/html2 for example? Also, you don't need those NameVirtualHost directives because as you stated in the original post you are not using name-based virtual hosting. Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107
Attachment:
pgpc2ckpEIGlG.pgp
Description: PGP signature