update readme

This commit is contained in:
John Bintz 2011-01-06 11:20:32 -05:00
parent 2770636def
commit e0706fdded

View File

@ -2,6 +2,8 @@
Programmatically construct your Apache configuration using a powerful DSL built in Ruby.
As of version 0.2.7, your destination config directory is destroyed and re-created each time the apache:create Rake task is run.
== Installation
<tt>gem install apache-config-generator</tt>
@ -92,6 +94,8 @@ The above config is transformed into the following:
RewriteCond "%{HTTP_REFERER}" "^!my-cool-website\.cool\.wow"
RewriteRule "\.(gif|jpg|png|pdf)$" "/lol-image-stealer.html" [L,R]
The destination configs directory is destroyed and re-created each time the apache:create Rake task is run.
== Using Apache::Config separately
Include the gem and access the methods on Apache::Config directly. See test/example_standalone.rb