httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] external stylesheet: alias ???
Date Sun, 08 Aug 2004 03:04:12 GMT
On Sat, 7 Aug 2004 21:57:32 -0500, Michael D Schleif <> wrote:
> I don't know where this is specified, in the web server or HTML
> specification.
> Is it possible to do something like this?
>     [httpd.conf]
>     Alias /css /var/lib/css
>     [html]
>     <link rel=3D"stylesheet" type=3D"text/css" href=3D"/css/main.css" />
> I want to centralize my css files somewhere other than off DocumentRoot;
> but, I do not want to specify the entire URL.
> What do you think?

Have you tried it?

Yes, it is possible, and should work exactly as you described. 
(Although you may need a <Directory> section to grant appropriate
permissions depending on what else you have in httpd.conf.)

Some more information is at


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message