update readme
This commit is contained in:
parent
2770636def
commit
e0706fdded
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
Programmatically construct your Apache configuration using a powerful DSL built in Ruby.
|
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
|
== Installation
|
||||||
|
|
||||||
<tt>gem install apache-config-generator</tt>
|
<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"
|
RewriteCond "%{HTTP_REFERER}" "^!my-cool-website\.cool\.wow"
|
||||||
RewriteRule "\.(gif|jpg|png|pdf)$" "/lol-image-stealer.html" [L,R]
|
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
|
== Using Apache::Config separately
|
||||||
|
|
||||||
Include the gem and access the methods on Apache::Config directly. See test/example_standalone.rb
|
Include the gem and access the methods on Apache::Config directly. See test/example_standalone.rb
|
||||||
|
Loading…
Reference in New Issue
Block a user