Commit 34c67812 authored by Tristan Cavelier's avatar Tristan Cavelier

readme added to know to configure apache and hosts

parent 70d22735
To run these examples you must bind "domain1", "domain2" and "ads.com" to
127.0.0.1 in /etc/hosts.
### /etc/hosts sample ###
127.0.0.1 domain1
127.0.0.1 domain2
127.0.0.1 ads.com
#########################
Then modify your apache configuration file (mine is /etc/httpd/conf/httpd.conf)
and change the value of "DocumentRoot" to the path of your local js.security
cloned git repository.
### sample ###
DocumentRoot="/srv/http/js.security"
##############
Now, restart apache and open url: "http://domain1".
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment