Archive

Posts Tagged ‘Apache’

remove ssl encryption

October 30th, 2010 No comments

openssl rsa -in server.key -out server.key.new

mv server.key.new server.key

chmod 600 server.key

Categories: Server Tags: , ,

mod_rewrite: Apache URL Rewriting

January 24th, 2007 1 comment

People loves to apply MVC model pretty much on their web application project. They likely put a controller which takes user input from the request and figures out what it means to the model. In this case, URL may looks like this, “index.php?category=sub”. It’s not pretty at all. If we can make this “category/sub”. it would be much better for search engine and users; security reason as well.

Module mod_rewrite URL Rewriting Engine
mod_rewrite, a beginner’s guide (with examples)
mod_rewrite: A Beginner’s Guide to URL Rewriting
mod_rewrite Cheat Sheet

Categories: Server Tags: , , ,