Problem with Apache and mod_alias

william pink will.pink at gmail.com
Thu Aug 28 12:45:03 CEST 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 am
not sure where it is getting it from?

Any help would be most appreciated (Its most likely me doing something
silly),

Thanks,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.infowares.com/archive/clug/attachments/20080828/6d397811/attachment-0002.htm 


More information about the CLUG mailing list