"nested" Aliases?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is it possible to nest alias directives? What I mean is:

Alias /foo /a/file/location
Alias /foo/bar /another/file location

I'm probably going about this all wrong. I'm trying to alias a Cognos 8 docroot like so:

Alias /cognos8 /opt/cognos/c8/webcontent

But I also need to be able to resolve /cognos8/cgi-bin, where the cgi-bin stuff is under /opt/cognos/c8/cgi-bin.

ScriptAlias /cognos8/cgi-bin /opt/cognos/c8/cgi-bin

Doesn't work, probably obviously to most of you! How can I do this, without setting up a virtual host?

Thanks,
Mark

--
Georgia: Why am I not doing what they're doing?
Rube: Because you're doing what you're doing. When it's time for you to do something else you'll do that.
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux