- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: howto redirect SquirrelMail from http to https...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 01:04 AM
тАО09-22-2006 01:04 AM
howto redirect SquirrelMail from http to https using Apache2 ?
I've tried to add the following entry:
# cat /etc/apache2/sites-enabled/000-default
Alias /mail /usr/share/squirrelmail
php_flag register_globals off
Options Indexes FollowSymLinks
DirectoryIndex index.php
# access to configtest is limited by default to prevent information leak
order deny,allow
deny from all
allow from 127.0.0.1
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://mydomain.net/mail [L]
but it doesn't work.
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 01:38 AM
тАО09-22-2006 01:38 AM
Re: howto redirect SquirrelMail from http to https using Apache2 ?
Apparently you have both HTTP and HTTPS served using the same configuration file. It would be easier to split the configuration in two, and have one "site" for HTTP traffic and another for HTTPS.
The mod_rewrite is a powerful but cryptic tool. For this I would recommend using the Redirect and/or RedirectMatch directives: they're simpler to use.
If you can separate the HTTP and HTTPS configurations,
Redirect /mail https://mydomain.net/mail
should do the trick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 01:47 AM
тАО09-22-2006 01:47 AM
SolutionYou don't redirect it in httpd.
You go to the squirrellmail plugins page. Choose the https/secure plugin package.
Unzip the plugin.
follow installation instructions.
install it.
restart httpd server
By default it logs in https and then goes normal for mail composition and reading.
It comes with a configuration file that is english readable and can be set for all https operations.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 03:05 AM
тАО09-22-2006 03:05 AM
Re: howto redirect SquirrelMail from http to https using Apache2 ?
ext:/usr/share/squirrelmail/plugins# ls
README.plugins
abook_take
administrator
bug_report
calendar
delete_move_next
filters
fortune
index.php
info
listcommands
mail_fetch
make_archive.pl
message_details
newmail
sent_subfolders
spamcop
squirrelspell
translate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2006 12:37 AM
тАО09-23-2006 12:37 AM
Re: howto redirect SquirrelMail from http to https using Apache2 ?
you should find all the plugins you need for Squirrelmail on the website : www.squirrelmail.org/plugins.php
Hope this helps,
Nils
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2006 02:56 AM
тАО09-23-2006 02:56 AM
Re: howto redirect SquirrelMail from http to https using Apache2 ?
# a2enmod rewrite
Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.