Hi all,
 
I am playing with templates and virtual domains.
 
I have set the line
 
<VirtualHost 217.34.194.218>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /usr/local/apache/virtual/www.mdlan.co.uk/public_html
    ServerName www.mdlan.co.uk
    ServerAlias www.mdlan.com
    ServerAlias www.mdlan.net
    SetEnv SWEBMAIL_TEMPLATEDIR=/usr/local/apache/virtual/www.mdlan.co.uk/sqwebmail_templates
    SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/apache/virtual/www.mdlan.co.uk/qmailadmin_templates
    ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
    ErrorLog logs/www.mdlan.co.uk_error_log
    CustomLog logs/www.mdlan.co.uk_access_log common
</VirtualHost>
 
 
This appears to work ok.
 
to test this I have copied my logo into /usr/local/apache/virtual/www.mdlan.co.uk/public_html/images/webmail/logo.gif
 
Sqwebmail picks up the logo ok. However the sizing is wrong, so I decided to play with templates further and resize the login table and images
 
To start with I altered the line
 
        [#@logo.gif, width="263" height="36" alt="SqWebMail Copyright 1999-2002 Double Precision, Inc."  border="0"@SqWebMail| -| Copyright| 1999-2002| Double| Precision,| Inc.@#]
 
to look like this
 
       [#@logo.gif, width="263" height="200" alt="SqWebMail Copyright 1999-2002 Double Precision, Inc."  border="0"@SqWebMail| -| Copyright| 1999-2002| Double| Precision,| Inc.@#]
 
So I made logo.gifs height 200, and reloaded the login page. This made no difference so I changed the line to look like this
 
       [#@test.gif, width="263" height="200" alt="SqWebMail Copyright 1999-2002 Double Precision, Inc." border="0"@SqWebMail| -| Copyright| 1999-2002| Double| Precision,| Inc.@#]
 
test.gif doesn't exist so there should be no image yeet logo.gif was still displayed.
 
I view the source and it was still the showing logo.gif.
 
I re-did the above tests and viewed the source and the source never changed.
 
Can I change the source ??? why are my changes not being picked up.
 
Thansks,
 
Matt.
 
 
 
 

Reply via email to