Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MultiformeIngegno
646
Off-topic / Re: Strange problem with RewriteCond
« on January 8th, 2012, 04:08 PM »
'kay! Restored A entry. :whistle:
Now, because you are a genius.. you can explain me WTF does this code do (in .htaccess).. :hmm:

Code: [Select]
<Files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</Files>
647
Off-topic / Re: CloudFlare
« on January 8th, 2012, 03:20 PM »
They provide tools for many platforms:
http://www.cloudflare.com/wiki/Log_Files

Including a mod_cloudflare module for Apache.
648
Features / Re: Selectbox
« on January 8th, 2012, 03:17 PM »
You did a freakin great job BTW :o
649
Off-topic / Re: Strange problem with RewriteCond
« on January 8th, 2012, 03:04 PM »
Anyway if I add a 301 redirect from www to non-www I should "restore" the A record for the www entry, right? It wouldn't work if I had a CNAME record for www (because hits get redirected before "reading" the .htacces)? :)
650
Off-topic / Re: Strange problem with RewriteCond
« on January 8th, 2012, 02:56 PM »
D'oh.. I thought that CNAME "redirection" solved the problem of duplicate content... because when you visit www.domain.com you are physically redirected to domain.com. Don't search engines follow this behavior and consider only non www content? Also because the www subdomain doesn't exist in reality (if you search for A records you get none)..
651
Off-topic / Re: CloudFlare
« on January 8th, 2012, 01:22 PM »
Mod by butchs:
http://www.simplemachines.org/community/index.php?topic=391926.msg2726085#msg2726085

P.S.: What is he talking about when he says:
Quote
[...] make me wish that SMF had just one check for an visitor Ip address so i can easily add a auto-detection script for CloudFlare.
652
Off-topic / Re: Strange problem with RewriteCond
« on January 8th, 2012, 01:49 AM »
Ahaha!
Anyway I'm ditching many rewritcond I had because there are other ways to achive some things. For example I had a rewrite rule that redirected all www hits to the non-www url. I just left the domain.com A record, removed the www one and replaced it with a CNAME (from www to the "pure" @ domain). I think it's more clean.
653
Off-topic / Re: Strange problem with RewriteCond
« on January 8th, 2012, 01:17 AM »
You clearly deserve a statue....
654
Off-topic / Re: SPF records
« on January 8th, 2012, 12:50 AM »
655
Off-topic / Strange problem with RewriteCond
« on January 8th, 2012, 12:50 AM »
I'm using this cond to redirect my forum.domain.com subdomain to domain.com/forum folder:
Code: [Select]
RewriteCond %{HTTP_HOST} ^[www\.]*forum.domain.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]

Everything works fine, except for Aeva links.. for example I have this image:
Code: [Select]
http://forum.domain.com/index.php?action=media;sa=media;in=252;thumb

Instead of:
Code: [Select]
http://domain.com/forum/index.php?action=media;sa=media;in=252;thumb

it gets redirected to:
Code: [Select]
http://domain.com/forum/index.php?action=media%3bsa=media%3bin=252%3bthumb

So I get a 404 error.. seems like a char-set problem!
656
Off-topic / Re: CloudFlare
« on January 6th, 2012, 11:52 PM »
Quote from Lurker on January 6th, 2012, 11:35 PM
Does WP have any bridge attached to it? Are you using Bad Behaviour?
No.. clean install.
657
Off-topic / Re: SPF records
« on January 6th, 2012, 11:35 PM »
Quote from Lurker on January 6th, 2012, 10:24 PM
Quote
Is this entry correct: "v=spf1 all" ?
Correct to do what? What are you hoping to achieve?
I'm trying to have a correct SPF record because I had troubles of mail sent from my server marked as spam..
658
Off-topic / Re: CloudFlare
« on January 6th, 2012, 11:28 PM »
Uhm.. I checked my test websites I have on CF right now.
SMF IPs are screwed and for example if I go to my profile I have CF IP related to the domain (173.245.52.115), so you are right.
But Wordpress commenters IP are correct! I tried to comment as anonymous and in WP I can see my correct IP!
659
Off-topic / Re: CloudFlare
« on January 6th, 2012, 09:57 PM »
I should give this a try.. the strange thing is that they released a plugin for Wordpress and they declare that their system works perfectly with forums/blogging platforms and it helps threats/spam prevention on posts/comments.. I have a few blogs/forums in sites I'm testing on cloudflare, if I'm right you're saying that I should see in SMF's users IP history or IP of commenters on wordpress not their real ip but clouflare one (because of the proxy)?
660
Off-topic / Re: CloudFlare
« on January 6th, 2012, 08:22 PM »
Quote from Lurker on January 6th, 2012, 07:27 PM
We do our own minification, btw.
I know. :)
Quote from Lurker on January 6th, 2012, 07:27 PM
Though it will screw up IP detection though there is an option in Wedge already to look at alternative headers.
Uhm, I'm interested in this. You mean it screws up IP detection because all requests pass through their proxy?