Skip to Content.
Sympa Menu

en - [sympa-users] Using css_url

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steven Peterson<address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Using css_url
  • Date: Tue, 14 Nov 2006 19:49:28 +0100

I would like to define a separate style sheet for each virtual robot. My
original understanding was that by setting the url of the stylesheet in the
css_url parameter:
e.g. css_url http://www.mydomain.com/css/

Sympa would then serve this url in the head of each wwwsympa request. I used
http://www.mydomain.com/sympa/css/style.css to get the default style sheet,
put
it in my webserver document directory under a directory called 'css' and
restarted httpd and sympa. However, sympa still includes the old location in
the header of every wwwsympa request:
ie. <link rel="stylesheet" href="http://www.mydomain.com/sympa/css/style.css";
type="text/css" media="screen"/>

Wwwsympa would not serve this new css url in the web pages until I set the
css_path parameter. Once I set the css_path parameter, wwwsympa began serving
the new style url with the document.

I looked through this list and saw that Oliver had recommended someone solve a
similar problem by creating an alias in httpd.conf to point to the static
style
sheet instead of the dynamic one:
e.g. Alias home/sympa/css /css

And change the css_url parameter accordingly :
e.g. css_url http://massey.ac.nz/css-sympa

I guess I do not understand the relationship of css_path and css_url; It
would
seem that setting only the css_url and having wwsympa reference that url in
each request would be enough to serve up the static style sheet to a web
browser. Why set the css_path or the web server Alias at all?

- Steve



Archive powered by MHonArc 2.6.19+.

Top of Page