Skip to Content.
Sympa Menu

en - [sympa-users] Re: problems with icons

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Riccardo Veraldi <address@concealed>
  • Cc: sympa-users <address@concealed>
  • Subject: [sympa-users] Re: problems with icons
  • Date: Tue, 11 Sep 2007 15:05:32 +0200

Hi,

For today:
What is the URL used for your icons in wwsympa.conf ? The parameter specifying this URL is "icons_url", whose default value is "/icons", producing, if your site base address is "http://site.it";, the URL "http://site.it/icons";.
Sympa doesn't do anything to your Apache config. If the URL to the image.jpeg file is http://site.it/icons/image.jpeg and that image is in the directory /home/sympa/icons, then it should be displayed with the config you specified.
Check that you don't have a "/icons" Location directive somewhere.
If that doesn't do anything, force the use of this directory by creating an alias.

For the next release:
You asked if you should put your directory in "static-sympa".
Yes and no. Yes, you can put your icons in the directory used by Sympa for its static content. But keep in mind that "static-sympa" is the url whereas the actual location on your file system is "/home/sympa/static_content" (by default). No, because that would imply to modify all the the icons sources.
For now:
- the path to icons is defined at configure time by setting the --|with-iconsdir| option to the path you desire. The default value is /var/www/icons. This will just copy the icons folder into this path.
- the URL to icons is defined by the icons_url parameter in wwsympa.conf
As of the next Sympa version, icons will be located in the static content directory, in the subfolder "icons" (which will give the default path : /home/sympa/static_content/icons and the default URL http://yoursite.org/static-sympa/icons). This will not be configurable, i.e. the --|with-iconsdir| configure option and the icons_url wwsympa.conf parameter will both disappear. If you want to modify the icons path or URL, you will do it by altering both your Apache configuration and the templates using these icons.

I hope this helped.

Regards,

Riccardo Veraldi a écrit :
Hello,
I have problems with visualization of icons in the sympa web interface.
Simply icons are not found.
They are in /home/sympa/icons but they are not found and I Can't understand why,

the Document root is in /home/sympa.
any hints ?

here is my apache config...
should I put them into static-sympa ??

DocumentRoot "/home/sympa"
ServerName site.it:443
ServerAdmin address@concealed

AddDefaultCharset UTF-8
DirectoryIndex /sympa
Options +Indexes

SSLOptions +StdEnvVars +ExportCertData
SSLVerifyClient optional
SSLVerifyDepth 10

<Location /sympa>
SSLOptions +StdEnvVars +ExportCertData
SetHandler fastcgi-script
</Location>

<Directory /home/sympa>
Allow from all
</Directory>

Alias /static-sympa /home/sympa/static_content
ScriptAlias /sympa /home/sympa/bin/wwsympa_sudo_wrapper.pl


thank you

Rick

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page