Change the line endings on the instructions

git-svn-id: http://webgoat.googlecode.com/svn/trunk@223 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes
2008-01-10 10:08:48 +00:00
parent 2fd09c3084
commit af8e61eb9f

View File

@ -1,35 +1,35 @@
=============================================================== ===============================================================
Installing WebGoat WAR file into a Standard Tomcat Installation Installing WebGoat WAR file into a Standard Tomcat Installation
Help: Mail List - http://lists.owasp.org/mailman/listinfo/owasp-webgoat Help: Mail List - http://lists.owasp.org/mailman/listinfo/owasp-webgoat
Email - webgoat@g2-inc.com Email - webgoat@g2-inc.com
=============================================================== ===============================================================
To do this, you'll need to configure server.xml and tomcat-users.xml a bit. To do this, you'll need to configure server.xml and tomcat-users.xml a bit.
Basically, you'll want to change the port number in server.xml to 80 (or just stick with 8080). Basically, you'll want to change the port number in server.xml to 80 (or just stick with 8080).
WebGoat also has some specific users and roles that it uses which are defined in tomcat-users.xml. WebGoat also has some specific users and roles that it uses which are defined in tomcat-users.xml.
- Add the following users and roles to tomcat-users.xml in tomcat/conf directory - Add the following users and roles to tomcat-users.xml in tomcat/conf directory
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<tomcat-users> <tomcat-users>
<role rolename="webgoat_basic"/> <role rolename="webgoat_basic"/>
<role rolename="webgoat_admin"/> <role rolename="webgoat_admin"/>
<role rolename="webgoat_user"/> <role rolename="webgoat_user"/>
<role rolename="tomcat"/> <role rolename="tomcat"/>
<user password="webgoat" roles="webgoat_admin" username="webgoat"/> <user password="webgoat" roles="webgoat_admin" username="webgoat"/>
<user password="basic" roles="webgoat_user,webgoat_basic" username="basic"/> <user password="basic" roles="webgoat_user,webgoat_basic" username="basic"/>
<user password="tomcat" roles="tomcat" username="tomcat"/> <user password="tomcat" roles="tomcat" username="tomcat"/>
<user password="guest" roles="webgoat_user" username="guest"/> <user password="guest" roles="webgoat_user" username="guest"/>
</tomcat-users> </tomcat-users>
This is explained in the readme.txt file in the root directory. This is explained in the readme.txt file in the root directory.
If you do not rename the war file to WebGoat.war you will need to If you do not rename the war file to WebGoat.war you will need to
browse to: browse to:
http://localhost/WebGoat-VERSION_NUM/attack http://localhost/WebGoat-VERSION_NUM/attack
Let us know if you are still having problems at the WebGoat mailing list: http://lists.owasp.org/mailman/listinfo/owasp-webgoat Let us know if you are still having problems at the WebGoat mailing list: http://lists.owasp.org/mailman/listinfo/owasp-webgoat
or by sending email to WebGoat@g2-inc.com or by sending email to WebGoat@g2-inc.com