From 0716db592d670d2d08d72ac21d8fa77049a1f0fd Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 16 Jan 2015 03:02:30 +0100 Subject: use examples blocks provided by asciidoc Signed-off-by: Olivier Gayot --- apache.adoci | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/apache.adoci b/apache.adoci index c275a3c..b146899 100644 --- a/apache.adoci +++ b/apache.adoci @@ -106,9 +106,8 @@ For that, we first have to install it if it is not already present: Then we can perform queries to our web server (the '-u' option allows to provide a 'user:password' pair). -===== Examples ===== - -- Failing to access /private without providing user/password: +.Failing to access '/private' without providing user/password: +========== $ curl http://csvm2C4E.kent.ac.uk/private/ > @@ -124,7 +123,10 @@ a 'user:password' pair). > the credentials required.

> -- Failing to access /private by providing a wrong password: +========== + +.Failing to access '/private' by providing a wrong password: +========== $ curl http://csvm2C4E.kent.ac.uk/private/ -u admin:wrong_pass > @@ -140,7 +142,10 @@ a 'user:password' pair). > the credentials required.

> -- Successing to access /private by providing both a good user name and password +========= + +.Successing to access '/private' by providing both a good username and password +========= $ curl http://csvm2C4E.kent.ac.uk/private/ -u admin:good_pass > @@ -150,5 +155,6 @@ a 'user:password' pair). >

> > - > + +========= -- cgit v1.2.3