Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CloudFlare
PostPosted: Thu Dec 01, 2011 1:22 am 
Offline
Newbie

Joined: Tue Jun 28, 2011 1:49 am
Posts: 2
CloudFlare Beta user also since inception. Every domain on cF and will never look back. As an authoritative DNS you cannot beat it and BL IP denial is the icing. I run about 20 domains, several on their Pro service.

@Carole same config, (2) Linodes 512, ubu 10, apache2, php, mysql (nginx)

I don't use mod_cloudflare or real_ip for those reasons you have trouble compiling but sites are faster than other options I've experimented with... I only run small tight communities however, WordPress and serve apps to soc through sub-domains. With the cF plugin and Visitor Maps I don't tail my logs via ssh, but see exactly who's online via the cms.


Top
   
 Post subject:
PostPosted: Thu Dec 01, 2011 1:31 am 
Offline
Newbie

Joined: Tue Jun 28, 2011 1:49 am
Posts: 2
SpadMan wrote:
I was testing CloudFlare with a web site on my Ubuntu 10.04 server today and encountered the same problem carol reported.


Spadman: You're the first person outside CloudFlare and on all the forums (globally) I've scoured that actually said something "different", and "did" it without pointing back to countless dead ends. Very cool. I might have to revisit the mod.

Kudos to you
Stu


Top
   
 Post subject:
PostPosted: Sat Dec 10, 2011 12:28 pm 
Offline
Senior Newbie

Joined: Thu Nov 18, 2010 8:56 am
Posts: 18
SpadMan wrote:
I was testing CloudFlare with a web site on my Ubuntu 10.04 server today and encountered the same problem carol reported.

I installed apxs2:

Quote:
$ sudo apt-get install apache2-prefork-dev


I then attempted to build the CloudFlare mod but received an error.
Quote:
$ sudo apxs2 -iac mod_cloudflare.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -c -o mod_cloudflare.lo mod_cloudflare.c && touch mod_cloudflare.slo
/usr/share/apr-1.0/build/libtool: line 978: i686-linux-gnu-gcc: command not found
apxs:Error: Command failed with rc=65536
.


I wrongly assumed libtool was installed and working correctly. It wasn't. So I did the following.

Install libtool (even though it's already on the server):

Quote:
$ sudo apt-get install libtool


Build and install extenstion module:

Quote:
$ apxs2 -iac mod_cloudflare.c


Restart apache2:

Quote:
$ sudo /etc/init.d/apache2 restart


Check the access log to confirm that the mod is working.

Hope this helps.
thx for the info.
i will give this a try :)

_________________
linode 512, ubu 10, apache2, php, mysql


Top
   
PostPosted: Sat Jan 02, 2016 1:37 pm 
Offline

Joined: Sat Jan 02, 2016 1:36 pm
Posts: 1
Did you get this working carol?


Top
   
PostPosted: Sun Jan 03, 2016 12:28 pm 
Offline
Senior Member

Joined: Wed Jun 27, 2012 10:00 pm
Posts: 87
Website: http://hemonc.org/wiki/Main_Page
I don't think your chances are great to get a response to a thread from 2011....

_________________
Amateur, eager to learn.
My hematology, oncology, and chemotherapy regimen wiki


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group