From 06b7d41ea98e11c5abb4253281be21229875a8f5 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 16 Jan 2015 05:21:03 +0100 Subject: epure the output a bit select only interesting excerpts Signed-off-by: Olivier Gayot --- apache.adoci | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) (limited to 'apache.adoci') diff --git a/apache.adoci b/apache.adoci index b146899..8c3b259 100644 --- a/apache.adoci +++ b/apache.adoci @@ -106,22 +106,13 @@ 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). +Only interesting excerpts of the output is shown below + .Failing to access '/private' without providing user/password: ========== $ curl http://csvm2C4E.kent.ac.uk/private/ - > - > > 401 Unauthorized - > - >

Unauthorized

- >

This server could not verify that you - > are authorized to access the document - > requested. Either you supplied the wrong - > credentials (e.g., bad password), or your - > browser doesn't understand how to supply - > the credentials required.

- > ========== @@ -129,18 +120,7 @@ a 'user:password' pair). ========== $ curl http://csvm2C4E.kent.ac.uk/private/ -u admin:wrong_pass - > - > > 401 Unauthorized - > - >

Unauthorized

- >

This server could not verify that you - > are authorized to access the document - > requested. Either you supplied the wrong - > credentials (e.g., bad password), or your - > browser doesn't understand how to supply - > the credentials required.

- > ========= @@ -148,13 +128,7 @@ a 'user:password' pair). ========= $ curl http://csvm2C4E.kent.ac.uk/private/ -u admin:good_pass - > - > - >

- > This content is private. If you can read this message, it means that you have successfully passed HTTP authentication. - >

- > - > + > This content is private. If you can read this message, it means that you have successfully passed HTTP authentication. ========= -- cgit v1.2.3