On Tue, Jan 22, 2008 at 09:09:26AM -0800, Wm Mussatto wrote: > On Tue, January 22, 2008 04:12, Arthur Dent wrote: > > > > I have one small problem however. In some of the locations where I work I > > find > > that my SM webmail is blocked. This is (I presume) to prevent the students > > / > > workers from wasting time and downloading malware on hotmail etc. > > > > I suspect the filter is simply picking up the word "webmail" in my URL > > http://mydomain/webmail/src/webmail.php > > > > My question is can I in some way change this to be something else (e.g. > > http://mydomain/mymsgs/src/msgs.php ? > > > > Thanks in advance > > > > AD > The address is a function of how your webserver (I'm assuming apache) has > aliased it. I run debian so you may have to find the RH equivalents: > If you have an /etc/squirrelmail directory look in it for an apache.conf > file. There should be an alieas line which begins > Alias /webmail ... <- where ... is the actual location of the squirrelmail > sources Change the '/webmail' to whatever and restart apache. > Thanks for that! It's definitely put me on the path to a solution. Now when I navigate to my SM webmail I get the URL http://mydomain/mymsgs/src/login.php which is great! However, this is only the login screen. When I successfully log in the URL reads http://mydomain/mymsgs/src/webmail.php. As I am not at one of my clients where webmail is blocked today, I can't say if this will result in it being filtered or not. I suspect however it might be. If I do need to get rid of this reference in the URL I guess I am going to have to change the name of the file webmail.php and change any calling references to it - Am I right? I have grepped the squirrelmail directory (# grep webmail.php /usr/share/squirrelmail/src/*) and found that webmail.php is referenced in the following files: /usr/share/squirrelmail/src/mailto.php: /usr/share/squirrelmail/src/options.php: /usr/share/squirrelmail/src/redirect.php: and of course in webmail.php itself. Would I have to change all references in all these files (and are there any I've missed)? Is this the right way to approach this? Can anyone suggest a more elegant (and more maintainable!) solution? Thanks for your help so far. Much appreciated! AD
Attachment:
pgpNe8wnt5ULO.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users