[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sqwebmail
Subject:    [sqwebmail] Templates not picking up changes
From:       "DARCY,MATTHEW (HP-UnitedKingdom,ex2)" <matthew.darcy () hp ! com>
Date:       2003-09-26 13:34:48
[Download RAW message or body]

Hi all,

I have had this problem before which was down to a config error on the
templates settings on my part.

I am having this problem again, yet I am %99 certain it is configured well.

I am making changes to some templates for testing, when I refresh the page
the template changes are not being picked up.

I'll show you my domain config first of all.

<VirtualHost *>
    ServerAdmin webmaster@e-netcomm.co.uk
    DocumentRoot /usr/local/apache/virtual/www.e-netcomm.co.uk/public_html
    ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
    ServerName www.e-netcomm.co.uk
    ServerAlias www.enetcomm.co.uk
    ServerAlias www.e-netcomm.com
    ServerAlias www.enetcomm.com
    SetEnv SQWEBMAIL_TEMPLATEDIR
/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail
#    SetEnv QMAILADMIN_TEMPLATEDIR
/usr/local/apache/virtual/www.e-netcomm.co.uk/qmailadmin
    Redirect /webmail.html http://www.e-netcomm.co.uk/cgi-bin/sqwebmail
    Redirect /webmail http://www.e-netcomm.co.uk/cgi-bin/sqwebmail
    ErrorLog logs/www.e-netcomm.co.uk_error_log
    CustomLog logs/www.e-netcomm.co.uk_access_log common
</VirtualHost>

As you can see the sqwebmail templates should be held in
/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail


And 

ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail

total 12
drwxr-xr-x   4 webmaster website      512 Sep 26 11:20 .
drwxr-xr-x   5 webmaster website      512 Sep 26 11:20 ..
drwxrwxrwx   2 webmaster website     1536 Sep 26 11:20 en

(as I understand it you don't put the en in the templates path string as
this is for multiple language templates)

# ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail/en
total 374
drwxrwxrwx   2 webmaster website     1536 Sep 26 11:20 .
drwxr-xr-x   4 webmaster website      512 Sep 26 11:20 ..
-rwxrwxrwx   1 webmaster website       11 Sep 26 11:20 CHARSET
-rwxrwxrwx   1 webmaster website        8 Sep 26 11:20 ISPELLDICT
-rwxrwxrwx   1 webmaster website        6 Sep 26 11:20 LANGUAGE
-rwxrwxrwx   1 webmaster website       11 Sep 26 11:20 LANGUAGE_PREF
-rwxrwxrwx   1 webmaster website        6 Sep 26 11:20 LOCALE
-rwxrwxrwx   1 webmaster website      714 Sep 26 11:20 TIMEZONELIST
-rwxrwxrwx   1 webmaster website     3785 Sep 26 11:20 abooklist.html
-rwxrwxrwx   1 webmaster website     7139 Sep 26 11:20 attachments.html
-rwxrwxrwx   1 webmaster website     5245 Sep 26 11:20 autoresponder.html
-rwxrwxrwx   1 webmaster website      897 Sep 26 11:20
calendarlogin.inc.html
-rwxrwxrwx   1 webmaster website      369 Sep 26 11:20 empty.html
-rwxrwxrwx   1 webmaster website     4873 Sep 26 11:20 eventacl.html
-rwxrwxrwx   1 webmaster website     4047 Sep 26 11:20 eventdaily.html

etc etc etc

I alter login.html so the header says "e-netcomm webmail" instead of
sqwebmail login

And refresh - nothings changed.

I have altered the logo image size....nothings changed.

I alter the log image, and the background colour in the sqwebmail.css in the
images dir - that works but the login.html changes are still not picked up
??

Any suggestions as to why this is 

(Also I know the permissions are wrong/too open on the templates - I set
this on purpose for testing, I'll tighten it up later)

thanks,

Matt.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Templates not picking up changes</TITLE>
</HEAD>
<BODY>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Hi all,</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I have had this problem before which was down \
to a config error on the templates settings on my part.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I am having this problem again, yet I am %99 \
certain it is configured well.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I am making changes to some templates for \
testing, when I refresh the page the template changes are not being picked \
up.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I</FONT><FONT SIZE=2 \
FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">ll show you my domain config first of \
all.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&lt;VirtualHost *&gt;</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ServerAdmin \
webmaster@e-netcomm.co.uk</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; DocumentRoot \
/usr/local/apache/virtual/www.e-netcomm.co.uk/public_html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ScriptAlias /cgi-bin/ \
/usr/local/apache/cgi-bin/</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ServerName \
www.e-netcomm.co.uk</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ServerAlias \
www.enetcomm.co.uk</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ServerAlias \
www.e-netcomm.com</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ServerAlias \
www.enetcomm.com</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; SetEnv \
SQWEBMAIL_TEMPLATEDIR \
/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">#&nbsp;&nbsp;&nbsp; SetEnv \
QMAILADMIN_TEMPLATEDIR \
/usr/local/apache/virtual/www.e-netcomm.co.uk/qmailadmin</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; Redirect /webmail.html <A \
HREF="http://www.e-netcomm.co.uk/cgi-bin/sqwebmail" \
TARGET="_blank">http://www.e-netcomm.co.uk/cgi-bin/sqwebmail</A></FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; Redirect /webmail <A \
HREF="http://www.e-netcomm.co.uk/cgi-bin/sqwebmail" \
TARGET="_blank">http://www.e-netcomm.co.uk/cgi-bin/sqwebmail</A></FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; ErrorLog \
logs/www.e-netcomm.co.uk_error_log</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; CustomLog \
logs/www.e-netcomm.co.uk_access_log common</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">&lt;/VirtualHost&gt;</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">As you can see the sqwe</FONT><FONT SIZE=2 \
FACE="Arial">bmail templates should be held in</FONT> <FONT SIZE=2 \
FACE="Arial">/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail</FONT></P> <BR>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">And </FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">ls -la \
/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">total 12</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">drwxr-xr-x&nbsp;&nbsp; 4 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 512 Sep 26 11:20 .</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">drwxr-xr-x&nbsp;&nbsp; 5 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 512 Sep 26 11:20 ..</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">drwxrwxrwx&nbsp;&nbsp; 2 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 1536 Sep 26 11:20 en</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">(as I</FONT> <FONT SIZE=2 \
FACE="Arial">understand</FONT><FONT SIZE=2 FACE="Arial"> it you don</FONT><FONT \
SIZE=2 FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">t put the en in the templates \
path string as this is for multiple language templates)</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial"># ls -la \
/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail/en</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">total 374</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">drwxrwxrwx&nbsp;&nbsp; 2 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 1536 Sep 26 11:20 .</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">drwxr-xr-x&nbsp;&nbsp; 4 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 512 Sep 26 11:20 ..</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11 Sep 26 11:20 CHARSET</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 Sep 26 11:20 \
ISPELLDICT</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 Sep 26 11:20 LANGUAGE</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11 Sep 26 11:20 LANGUAGE_PREF</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 Sep 26 11:20 LOCALE</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 714 Sep 26 11:20 TIMEZONELIST</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 3785 Sep 26 11:20 abooklist.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 7139 Sep 26 11:20 attachments.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 5245 Sep 26 11:20 autoresponder.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 897 Sep 26 11:20 \
calendarlogin.inc.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 369 Sep 26 11:20 empty.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 4873 Sep 26 11:20 eventacl.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">-rwxrwxrwx&nbsp;&nbsp; 1 webmaster \
website&nbsp;&nbsp;&nbsp;&nbsp; 4047 Sep 26 11:20 eventdaily.html</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">etc etc etc</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I alter login.html so the header says</FONT> \
<FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial">e-netcomm \
webmail</FONT><FONT SIZE=2 FACE="Arial">"</FONT><FONT SIZE=2 FACE="Arial"> instead of \
sqwebmail login</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">And refresh</FONT> <FONT SIZE=2 \
FACE="Arial">-</FONT><FONT SIZE=2 FACE="Arial"> nothings changed.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I have altered the logo image \
size</FONT><FONT SIZE=2 FACE="Arial">...</FONT><FONT SIZE=2 FACE="Arial">.nothings \
changed.</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">I alter the log image, and the background \
colour in the sqwebmail.css in the images dir</FONT> <FONT SIZE=2 \
FACE="Arial">-</FONT><FONT SIZE=2 FACE="Arial"> that works but the login.html changes \
are still not picked up ??</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Any suggestions as to why this is </FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">(Also I know the permissions are wrong/too \
open on the templates</FONT> <FONT SIZE=2 FACE="Arial">-</FONT><FONT SIZE=2 \
FACE="Arial"> I set this on purpose for testing, I</FONT><FONT SIZE=2 \
FACE="Arial">'</FONT><FONT SIZE=2 FACE="Arial">ll tighten it up later)</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">thanks,</FONT></P>

<P ALIGN=LEFT><FONT SIZE=2 FACE="Arial">Matt.</FONT></P>

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic