httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Drummond" <>
Subject [users@httpd] "nested" Aliases?
Date Fri, 07 Sep 2007 15:24:08 GMT
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?


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.

View raw message