Title: Templates not picking up changes

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 [EMAIL PROTECTED]

    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.

Reply via email to