Viewing by month: May 2009

May 30 2009

CFML 101 - Protecting Railo admin folder

I have seen people asking this question more than two times now, so I decided it's about time I write a blog post about it. In ColdFusion it was really easy to solve this problem, as CFIDE is a physical folder, so you could simply move it away from the webroot, and it wouldn't be accessible to the entire world.

On Railo it's a bit trickier, as the admin and server folders are virtual directories, hence you can't simply "move it away". Obviously it's password protected, so people won't simply have access to it and screw up with your configuration, but a more will powered person could easily brute force into it.

I have to reinforce here that a really will powered lad would probably break into anything, or even log into your server and make it a real mess. It's always good to have this false security sensation though, so I'll post here how I do my own security.

Read more...

  comments - Posted by Marcos Placona at 10:41 PM - Categories: VPS | CFML - 101 | Railo | Linux

May 30 2009

New version of Railo released

This is only a point release (3.1.0.015) for Railo, but it addresses many bugs we reported in the last couple of weeks. Moreover, when I say last couple of weeks, it really is it. It is breath taking to see how quickly the Railo team nails down all of our requests and bug reports. Railo is still in beta, but according to Gert, it will soon have its final version released (Gert says it is sometime in June 2009).

Updating could not be any easier if you are on Railo 3.1x already. Simply go to your server admin, click on updates in the left menu, and click the button execute update. It's all done via admin interface, and there's no need to move *.jar files or anything.

Here is a list (from the official changelog) of what’s included within this update:

Read more...

  comments - Posted by Marcos Placona at 3:04 PM - Categories: Railo

May 29 2009

Apache 101 - Avoiding duplicate content on your domain.

Did you know that search engines consider things like http://www.placona.co.uk/index.cfm and  http://placona.co.uk/index.cfm as duplicate content? It might sound like a wise thing to do, as your site would be accessible by whichever URL related to your domain. I'll say here it's not, as search engines like Google consider this an offense and will penalize you should they think you're doing it on purpose.

Google normally are very strict and harsh with people trying to "play" with their search engine, or people who try to black hat SEO. And content duplication might be just what will put your domain on the bottom of their search.

I then thought about a very slick way of getting rid of content duplication. You can simply create a rule on your .htaccess (or httpd.conf as that's what I use), and will will take care of redirecting any request to non-www to a www version of your website.

Read more...

  comments - Posted by Marcos Placona at 10:21 AM - Categories: VPS

May 26 2009

File extension series. Part XIII (09)

Continuing my series, now on it's part 13, I'll be talking here about the File Extension 09.

Read more...

Posted by Marcos Placona at 4:17 PM - Categories: Review

May 21 2009

Apache 101 - Case insensitive URL's

This is only a quick apache tip for when you are using mod_rewrite.

I've been working on some rewriting lately, and noticed that when you use them, the pattern applied much match exactly, otherwise you will either get error, or your pattern will never find a match.

Read more...

  comments - Posted by Marcos Placona at 3:39 PM - Categories: VPS | Regular Expressions

May 15 2009

Installing YUM on CentOS 5

This is really for my future reference, but I thought someone would bump into that any time. I'm configuring a new CentOS 5 server and for my surprise it didn't come with yum installed.

  comments - Posted by Marcos Placona at 4:03 PM - Categories: Linux | VPS

May 11 2009

CFML 101 - ColdFusion for beginners - Railo Installation

I will start my CFML introductory series with installation. Obviously, you need to have a CFML engine installed in order to be able to run CFML applications locally.

As some you know, I've been using Railo a lot recently. Reason being it's now completely free and open source, hence no hassle with licenses on my server. I could go through the whole process of installing every single CFML engine here, but as the documentation for ColdFusion Server for example is really complete, I thought I should start with something less documented, so I can add up to the number of resources over the web.

Read more...

  comments - Posted by Marcos Placona at 10:00 PM - Categories: VPS | CFML - 101







Related URLs

Subscribe

Categories

Search Archives

Monthly Archives