We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

RSS feed stopped working after update | Forum

Dirk
Dirk Apr 21 '15
Hi,


Website: hardstyleunited.com

System:1.7.3

PHP: 5.4

SSL: Yes


After the update all of a sudden the img are not shown anymore. Is this a known issue?


//Dirk

ross Team
ross Apr 21 '15
provide the rss url
ross Team
ross Apr 22 '15

Dirk, the images are blocked because they come from the non-secure resource, this is how SSL works, you either have to not use SSL on your website, or use secure rss feed

Dirk
Dirk Apr 22 '15
Hi Ross,



The img should always be shown even when you are in a SSL environment right. The SSL certificate will not be green then but show a error. Right now the images are not even shown. And even with SSL on the images should not be blocked. It has always worked. And the images has always shown. Even from a non SSL secure environment. But now all of a sudden the SSL keeps blocking non secure images. And this to my knowledge is not per definition how SSL works. If you have non secure parts the certificate will not be validated.

The Forum post is edited by Dirk Apr 22 '15
Dirk
Dirk Apr 22 '15
And if it is what is is. Can oxwall maybe provide a workaround to only have certain pages in HTTPS. So we can change the HTACCESS file and not break the site :)


Would be great. And again thanks for the superb help.

dave Leader
dave Apr 22 '15
you might check this out 


http://stackoverflow.com/questions/2357455/rewrite-http-to-https-on-some-pages-only-using-htaccess

Dirk
Dirk Apr 22 '15
Hi Dave,


I tried it but i broke my site. since the htaccess was not correct any more. Got redirect loops. Maybe Oxwall can provide a prefab htaccess file with only user pages etc to https

dave Leader
dave Apr 22 '15
your welcome to post here, https://oxwall.uservoice.com/forums/13756-ideas-for-oxwall


if enough people need it, the devs will consider it.. ")

Dirk
Dirk Apr 22 '15

What should I change here to make it work:


Options +FollowSymLinks

RewriteEngine On


AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>


# Rewrite Rules for hardstyleunited.com

RewriteBase /


#Rewrite www to hardstyleunited.com

RewriteCond %{HTTP_HOST} ^www\.hardstyleunited\.com [NC]

RewriteRule ^(.*)$ http://hardstyleunited.com/$1 [L,R=301]


#Rewrite to https

RewriteCond %{HTTPS} off

RewriteCond %{REQUEST_URI} /secure.php

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]


#traffic to , except secure.php

RewriteCond %{HTTPS} on

RewriteCond %{REQUEST_URI} !(/secure.php)

RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]



RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} !/e500\.php

#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php



And I will make this a topic there :) Thanks for the replies.

ross Team
ross Apr 22 '15
The resource you're using does not support https: you can check the image: https://www.hardstyle-releases.com/wp-content/uploads/2015/04/NRT001-200x200.jpg under HTTP it won't work, which is why it is not displayed on your website. 
Dirk
Dirk Apr 22 '15
Can I use this:


Options +FollowSymLinks

RewriteEngine On



AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>


# Rewrite Rules for hardstyleunited.com

RewriteBase /


#Rewrite www to hardstyleunited.com

RewriteCond %{HTTP_HOST} ^www\.hardstyleunited\.com [NC]

RewriteRule ^(.*)$ http://hardstyleunited.com/$1 [L,R=301]


#Rewrite to https

RewriteCond %{HTTPS} off

RewriteCond %{REQUEST_URI} /admin/

RewriteCond %{REQUEST_URI} /user/

RewriteCond %{REQUEST_URI} /profile/

RewriteCond %{REQUEST_URI} /join/

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]


#traffic to , except some paths

RewriteCond %{HTTPS} on

RewriteCond %{REQUEST_URI} !(/admin/)

RewriteCond %{REQUEST_URI} !(/user/)

RewriteCond %{REQUEST_URI} !(/profile/)

RewriteCond %{REQUEST_URI} !(/join/)

RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]



RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} !/e500\.php

#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php


The Forum post is edited by Dirk Apr 22 '15
dave Leader
dave Apr 22 '15
try this 


RedirectMatch ^((?!\/(page1|page2)).*)$ https://%{HTTP_HOST}$1


this will direct everyting other than page1 and page2 to https for the current host

Dirk
Dirk Apr 22 '15
Will ends up  in this:


https://%25%7bhttp_host%7d


In the address field

dave Leader
dave Apr 22 '15
im certainly not a mod rewrite pro i just know enough to get by, i used that a long time ago on a site and it worked.   But maybe not anymore.  sorry about that 
dave Leader
dave Apr 22 '15
here is an article that explains the RedirectMatch


hostknox.com/clients/knowledgebase/347/How-to-redirect-content-with-the-RedirectMatch-directive.html

The Forum post is edited by dave Apr 22 '15
Dirk
Dirk Apr 22 '15
I am trying this now:


Options +FollowSymLinks

RewriteEngine On


AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>


# Force HTTPS 

RewriteCond %{HTTPS} off

RewriteCond %{THE_REQUEST} \s/(user|profile|join) [NC]

RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [NE,R=301,L]


# Force HTTP for all others

RewriteCond %{HTTPS} on

RewriteCond %{THE_REQUEST} !\s/(user|profile|join) [NC]

RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [NE,R=301,L]



RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} !/e500\.php

#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php


Works for all http pages. But the ones redirected to HTPPS won't open.

The Forum post is edited by Dirk Apr 22 '15
Dirk
Dirk May 7 '15
Hi Ross,


Even when I post this:


 - https://hardstyle-releases.com/category/released/feed/


The pictures wont show up in the feed.

ross Team
ross May 7 '15
because there's no such feed with https only with http
tammy harris
tammy harris May 8 '15
i have this plugin and it all works fine 

https://www.thenaughtyretreat.com/feed

the only problem i have is the site rss feed ie on dashboard can not read this type of rss feed
Pages: 1 2 »