Results 1 to 3 of 3

Thread: cant access with :443 in address bar, SSL works with https, http works too

  1. #1
    tonechild is offline Junior Member
    Join Date
    Nov 2011
    Posts
    3

    Exclamation cant access with :443 in address bar, SSL works with https, http works too

    Hi all,

    Our current sugarCRM works properly except when tying to access via 443. Unfortunately when the system sends emails to users with their credentials(login info) it directs them to http://draftrite.com:443/sugar which results in a bad request. If I could change the way it emails users that would be great but havent found anything.

    If I go to draftrite/sugar it works
    if I go to https:/draftrite.com/sugar it works


    if I go to http://draftrite.com:443/sugar I get a bad request error
    ** https://draftrite.com:443/sugar works great.

    I tried for the last 20 mins to get htacess to redirect but I can't figure it out:

    was using:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^draftrite\.com\.$ [NC]
    RewriteCond %{HTTP_HOST} !^$ [NC]
    RewriteCond %{SERVER_PORT} !^443$
    RewriteCond %{SERVER_PORT} !^80$
    RewriteRule ^(.*)$ "https://%1/$1" [L,R]
    and several variations of it

    I can currently tell employees to remove the 443 from their address bars to use it but that's a really bad practice and I want this to work properly without any work around requirements asked of users. However, I'm game for workarounds on my end.

    I'd like to either A: Find a htaccess method that works. or B: Change the emailer to stop sending people to use 443.

    Any help?

    Thanks

  2. #2
    tonechild is offline Junior Member
    Join Date
    Nov 2011
    Posts
    3

    Default Re: cant access with :443 in address bar, SSL works with https, http works too

    BUMP! Please help

  3. #3
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: cant access with :443 in address bar, SSL works with https, http works too

    Sounds like you have issues in your config.php. Check the site_url config and change to the correct url.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Redirect from http to https
    By ashokinsugar in forum Developer Help
    Replies: 0
    Last Post: 2011-10-03, 10:28 AM
  2. invite works only with one email address
    By marekbpl in forum Help
    Replies: 2
    Last Post: 2010-06-11, 02:40 AM
  3. Replies: 0
    Last Post: 2009-08-11, 10:57 PM
  4. SOAP: http & https
    By RedSerratia in forum Developer Help
    Replies: 2
    Last Post: 2008-11-28, 12:19 PM
  5. HTTP or HTTPS ?
    By Leibinz in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-04-21, 08:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •