> Greetings, > > > Is it at all possible to host SquirrelMail in the root of a web site > _and_ > to eliminate the src/ directory from the path, possibly via mod_rewrite? > > My goal is, for example, http://webmail.domain.com/login.php (etc) > instead of http://webmail.domain.com/src/login.php (and so on). > > My attempts thus far have failed with SM breaking after rewriting /src/* > as /*.
create index.php file with ------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html><head> <title>Webmail</title> </head><frameset rows="20, *" id="topfs1"> <frame src="top.php" name="top_top" frameborder="0" /> <frame src="src/login.php" name="top_bottom" frameborder="0" /> </frameset> </html> ------------------------------- in squirrelmail root directory. Set top frame configuration value to 'top_bottom'. create top.php file with your banner. Done. layout is unchanged, src/something and plugins/something urls are not visible in address box. You can also add <noframes> part and some extra code, that checks if user is logged and directs to src/webmail.php instead of src/login.php. -- Tomas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
