Hello Jeremy,
On Tuesday, March 15, 2005, Jeremy Shaffner wrote...

> 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 /*.

You'll have difficulty doing it because of things like plugins,
images, css files, javascript files, etc. Because these files are
outside of the src/ directory, and the request for them is usually
relative to the src directory (ie ../img/mypic.png), then it'll cause
some odd issues with URLs. Then there is the session handling code,
which is probably what you're seeing in affect with your error on the
user/pass unknown. Chances are, the session/cookie information is
being messed up some how.

Is there any particular reason you wanted to host it like that? I've
never tried it myself, I'd have to have a play with it.

-- 
Jonathan Angliss
([EMAIL PROTECTED])

Posting Hints: 
http://www.squirrelmail.org/wiki/en_US/MailingListPostingGuidelines



-------------------------------------------------------
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

Reply via email to