[NTLUG:Discuss] Apache help
Greg Edwards
greg at nas-inet.com
Thu Jan 3 20:08:03 CST 2002
MadHat wrote:
>
> >[include]
> >
> >My understanding was that any directive could use an Alias to access
> >another directory outside of the webspace. Is there a limit to which
> >directives can use an Alias? I'm able to Alias my icons, cgi-bin (of
> >course) and even a directory containing my Error pages.
>
> include file includes a *FILE* not a URL. The Alias directive sets up an
> alias for a URL. When calling a file, you use
> <!--#include file="/absolute/path/to/file"-->
> or
> <!--#include file="relative/path/to/file"-->
> not
> <!--#include file="/URL/path/to/file"-->
>
> include virtual is what you want
> <!--#include virtual="/URL/path/to/file"-->
> http://httpd.apache.org/docs/howto/ssi.html
>
> --
> MadHat at unspecific.com
Thanks this did the trick. Now I can get my includes out of the web
space and use them from all my virtual hosts.
--
Greg Edwards
New Age Software, Inc.
http://www.nas-inet.com
More information about the Discuss
mailing list