[Gllug] Problems with mod_alias and Apache

william pink will.pink at gmail.com
Thu Aug 28 10:22:13 UTC 2008


Hello,

I have a site say www.foo.com and I need to point www.foo.com/example at a
different document root

I have done this with mod_alias so

Alias  /example /var/www/example

But when I reload the config and try and go to the /example it tries to
resolve www.example.com/example and I can't work out what I am I doing
wrong, I have looked through the Apache documentation and can't see any
reference to this. I haven't got www.example.com in my /etc/hosts so I amm
not sure where it is getting it from?

Thanks,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20080828/d82eda66/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list