I'll move to the easier stuff once I have this working :) I will have time then to learn all the new tech :)
On Oct 23, 10:30 pm, Bruce Kroeze <[email protected]> wrote: > In almost all cases, this is pretty easy to fix. Just look for where any > server is hardcoded. Use Firebug to look at the requests, and you'll find > them easily. Usually the culprit is in some library you are including from > an http address, which is probably in your base.html, or else hard coded > servers in CSS images. > > By the way, don't use mod_python for Django. It really quite an evil > method, it definitely has memory leaks and it provably doesn't fully isolate > thread memory between different sandboxes. Some of the most challenging > errors I've tracked down in my six years using it were due to applications > running mod_python. If you must use Apache, which I recommend you do not > (as it is neither the fastest, the smallest, or the easiest to configure), > then use mod_wsgi or better, mod_fastcgi or best yet, mod_proxy in > combination with Green Unicorn. > > > > > > > > > > On Sun, Oct 23, 2011 at 7:39 AM, Laszlo Antal <[email protected]> wrote: > > Hi, > > > Not front of my computer so I can't give exact directions. But I used > > firebug and the Net tab(?) where it shows all the http requests. There you > > will see what has a URL with http and https. > > In my case the issue was the images loaded from the css files for > > background and buttons for divs. > > > Hope it helps > > > lzantal > > > On Oct 22, 2011, at 16:17, Shawn Collins <[email protected]> wrote: > > > > Fire Fox and Chrome, are both telling me that my pages are only > > > partially encrypted. The logo.png is encrypted, and the favicon.png is > > > encrypted but everything else is not. I'm hoping it's only my media > > > that is not encrypted but so far that's the only error messages I get. > > > Here are my virtual host settings for the store. > > > <VirtualHost *:80> > > > ServerAdmin [email protected] > > > ServerNamewww.north49hats.ca > > > ServerAlias 127.0.0.1 localhost 10.8.1.154 Wigens > > > > <Location "/"> > > > SetHandler mod_python > > > PythonHandler django.core.handlers.modpython > > > PythonPath "['/home/shawn', '/usr/lib/python2.6/site-packages/ > > > django'] + sys.path" > > > SetEnv DJANGO_SETTINGS_MODULE store.settings > > > PythonDebug On > > > </Location> > > > > <Location "/media"> > > > SetHandler None > > > </Location> > > > > Alias /media /home/shawn/store/static > > > </VirtualHost> > > > > <VirtualHost *:443> > > > ServerAdmin [email protected] > > > ServerNamewww.north49hats.ca > > > ServerAlias 127.0.0.1 localhost 10.8.1.154 Wigens > > > > <Location "/"> > > > SetHandler mod_python > > > PythonHandler django.core.handlers.modpython > > > PythonPath "['/home/shawn', '/usr/lib/python2.6/site-packages/ > > > django'] + sys.path" > > > SetEnv DJANGO_SETTINGS_MODULE store.settings > > > PythonDebug On > > > </Location> > > > > <Location "/media"> > > > SetHandler None > > > </Location> > > > > SSLEngine on > > > SSLCertificateFile /etc/httpd/conf/ssl.key/public.crt > > > SSLCertificateKeyFile /etc/httpd/conf/ssl.key/private.key > > > SSLCACertificateFile /etc/httpd/conf/ssl.key/intermediate.crt > > > > Alias /media /home/shawn/store/static > > > </VirtualHost> > > > > And in my settings.py file I have the middleware ssl line right at the > > > end of the lineup. > > > > MIDDLEWARE_CLASSES = ( > > > "django.middleware.common.CommonMiddleware", > > > "django.contrib.sessions.middleware.SessionMiddleware", > > > "django.middleware.csrf.CsrfViewMiddleware", > > > "django.middleware.locale.LocaleMiddleware", > > > "django.contrib.auth.middleware.AuthenticationMiddleware", > > > "django.middleware.doc.XViewMiddleware", > > > "django.contrib.messages.middleware.MessageMiddleware", > > > "threaded_multihost.middleware.ThreadLocalMiddleware", > > > #"satchmo_ext.recentlist.middleware.RecentProductMiddleware", > > > #'debug_toolbar.middleware.DebugToolbarMiddleware', > > > "satchmo_store.shop.SSLMiddleware.SSLRedirect", > > > ) > > > And I have the ssl = True line in at the bottom. > > > > SATCHMO_SETTINGS = { > > > 'SHOP_BASE' : '', > > > 'MULTISHOP' : False, > > > 'PRODUCT_SLUG' : 'items', > > > 'SSL' : True, > > > #'SHOP_URLS' : patterns('satchmo_store.shop.views',) > > > } > > > > and I have the HTTPS_PATH line in the local_settings.py file > > > > LOCAL_DEV = True > > > DEBUG = False > > > TEMPLATE_DEBUG = DEBUG > > > HTTPS_PATHS = ('admin/', 'settings/', 'accounts/') > > > > And I have verisign certificates, that are actually being used, but it > > > still tells me that the page is only partially encrypted. Can anyone > > > help me find what I'm missing? > > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Satchmo users" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > [email protected]. > > > For more options, visit this group at > >http://groups.google.com/group/satchmo-users?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Satchmo users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/satchmo-users?hl=en. > > -- > Bruce Kroezehttp://www.ecomsmith.com > It's time to hammer your site into shape. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
