Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Using AM with SSL?

 

 


BillG
User

Sep 5, 2006, 8:52 PM

Post #1 of 6 (1740 views)
Shortcut
Using AM with SSL? Can't Post

I'm running AM 1.41 and I've run into some problems using AM with SSL.

I have two separate issues:

First is logging into the AM Admin panel with SSL. With IE6, I am constantly getting the "this page has both secure and insecure" warning dialog from the Admin control panel, which means that AM's admin panel doesn't use relative URLs - which would stop me from getting those errors. Also, when I go to edit an existing article, content in the WYSIWYG editor is always empty. I've got my site on IE's trusted list, and running programs in an iFrame is enabled.

Second, is my published pages - all the indexes are not secure links. When my site is being accessed using SSL, all the article links in the headlines and category lists are non-secure absolute URLs with <a href="http://..." instead of just relative URLs like <a href="/news/..."

I read on the forum that there is a Setup Option for using relative URLs, but I just can't seem to find it...

Any ideas?

Thanks,

Bill.


ross
Staff / Moderator


Sep 6, 2006, 10:39 AM

Post #2 of 6 (1729 views)
Shortcut
Re: [BillG] Using AM with SSL? [In reply to] Can't Post

Hi Bill.

Thanks for posting!

In both cases here, you should be able to get everything going by making some changes to your template files. The only thing is that for the first part (admin panel) you would be making changes to the interface templates. We don’t really make many changes there so I am not exactly sure of everything that would actually need to be changed. I am imagining that there will quite a bit though.

The second part (index pages, etc) is easier. You’ll still need to edit the templates, but these ones are actually designed to be worked with.

Basically though, you’ll just need to open up each template and add in the full path to any link that doesn’t already have one. You’re going to find that almost every link on your templates is going to involve a placeholder. You’ll want to leave the placeholder there and just throw the path in before it.

Does that all make sense? Keep me up to date with how you are making out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



BillG
User

Sep 6, 2006, 10:45 AM

Post #3 of 6 (1728 views)
Shortcut
Re: [ross] Using AM with SSL? [In reply to] Can't Post


In Reply To
Basically though, you’ll just need to open up each template and add in the full path to any link that doesn’t already have one. You’re going to find that almost every link on your templates is going to involve a placeholder. You’ll want to leave the placeholder there and just throw the path in before it.

Does that all make sense?



This doesn't make sense. You want me to add "the full path"? That's not what I want, I don't want full paths, I want RELATIVE paths, right?

I've worked with my templates extensively & I'm honestly having a hard time making sense of what you wrote.


(This post was edited by BillG on Sep 6, 2006, 11:56 AM)


BillG
User

Sep 6, 2006, 12:08 PM

Post #4 of 6 (1722 views)
Shortcut
Re: [BillG] Using AM with SSL? [In reply to] Can't Post

In the template headlines_bycat.html, links to the article use

$detail_link$

which is the absolute url to the article's Detail Page. I need a placeholder for the relative URL of the article, which I can't seem to find.


Donna
Staff / Moderator


Sep 6, 2006, 2:17 PM

Post #5 of 6 (1717 views)
Shortcut
Re: [BillG] Using AM with SSL? [In reply to] Can't Post

Hi Bill,

It's actually grabbing those paths from your Setup Options, under Server. So, if you go into that section and take a look at the Publish URL and Upload URL, you'll probably see the full http://and-so-on...

Instead, try changing this to to /path/to/publish/ -- make sure you enter the full path (a relative path is a little different, you do actually want the full path) so that it starts from your web root. So, if you currently had this:

http://www.yoursite.com/artman/publish/

...you would instead want this:

/artman/publish/

Once you've made these changes, remember to republish your files. Then check it out and let me know if that has the result you're looking for. :)

Donna

--
support@interactivetools.com


BillG
User

Sep 6, 2006, 2:33 PM

Post #6 of 6 (1716 views)
Shortcut
Re: [Donna] Using AM with SSL? [In reply to] Can't Post

Hey, Donna, you did it! Under Setup Option, Server, I changed the URLs for Publish URL, Upload URL, Images URL, Dynamic Viewer URL and Search URL to the relative URLs like you recommended.

Now when I am in SSL mode on my site, all my article links are SSL too. When logged in as AM admin, I don't get mixed content alerts and the article content in the YWSIWYG editor is displayed.

Thanks, Donna!!!