Commits on May 28, 2009
  1. prepare for 1.82

    committed May 28, 2009
  2. prepare for 1.82

    committed May 28, 2009
  3. prepare for 1.82

    committed May 28, 2009
  4. prepare for 1.82

    committed May 28, 2009
  5. prepare for 1.82

    committed May 28, 2009
  6. prepare for 1.82

    committed May 28, 2009
Commits on May 23, 2009
Commits on May 22, 2009
  1. fix badmatch calling yaws_server:suffix_type from yaw_server:do_url_t…

    …ype when dav is true
    vinoski committed May 22, 2009
  2. Added fix and tests for github issue #2. Handle zero values for

    max_num_cached_files, max_num_cached_bytes, and max_size_cached_file
    to prevent infinite loops.
    vinoski committed May 22, 2009
Commits on May 20, 2009
Commits on May 19, 2009
  1. removed obsolete stats collector

    committed May 19, 2009
Commits on May 4, 2009
  1. comment in code

    committed May 4, 2009
  2. set HOME if unset, this is required since some distros don't set HOME…

    … for code run under/etc/rc and erlexec requires HOME to be set
    committed May 4, 2009
Commits on Apr 27, 2009
  1. doc fix by hun

    committed Apr 27, 2009
  2. new ebuild file from joe_e_e

    committed Apr 27, 2009
  3. doc patch from kevingrimes

    committed Apr 27, 2009
  4. Merge branch 'auth' of into auth

    Fabian Alenius committed Apr 27, 2009
Commits on Apr 26, 2009
Commits on Apr 25, 2009
  1. document rss_dir

    vinoski committed Apr 25, 2009
Commits on Apr 24, 2009
  1. 1. Fixed so that the HTTP status is set to 401 explicitly in

    yaws_server:handle_ut(...), previously out401 needed to return
    {status, ...} or status would default to 200.
    2. Changed outmod:out401(...) so that it returns {ehtml, ...} instead of
    {status, ...}
    3. Documented the errmormod_401 option in the man page.
    faal committed Apr 24, 2009
Commits on Apr 23, 2009
  1. minor cleanup modifications

    vinoski committed Apr 23, 2009
Commits on Apr 21, 2009
Commits on Apr 20, 2009
Commits on Apr 18, 2009
  1. add ets-based yapp registry implementation for cases where mnesia is …

    Steve Vinoski committed Apr 18, 2009
Commits on Apr 15, 2009
  1. Changed the way authentication is done, added support for multiple au…

    …thentication methods to be used for one directory and changed so that the
    401 page can be customized similarly to the 404 page.
    1. Renamed yaws_401.erl to yaws_outmod.erl, which is probably a better name considering it's current use(it also displays the crashmsg).
    2. Fixed the Makefile accordingly.
    2. Changed so that the auth record not only contains the authentication methods but also the headers that should be displayed for the
    3. The headers are added in yaws_config.erl when the config file is parsed, the authmods now has to have a function get_headers/1 that
    returns the http headers that are to be displayed.
    3. is_auth now goes through the list of directories and when a matching directory is found it calls handle_auth which does the actual
    4. handle_auth checks all the methods specified in the config file, if _one_ returns true, the user is authorized to view the page.
    5. Removed deliver_401 and changed so that handle_ut is called with UrlType = unauthorized.
    6. Changed handle_ut to handle UrlType = unauthorized, it handles it similarly to when it displays 404. It pulls the errormod_401 from the
    GC and calls out401 to display the actual page.
    7. Added a function outh_set_auth/1 to yaws.erl which takes a string or a {realm, Realm} tuple and returns the corresponding WWW-Authenticate
    8. Fixed so that the headers are displayed when the 401 page is displayed.
    9. Removed the special handling of appmod in handle_request. Previously authmods would return appmod when they wanted the 401 page to be
    displayed, this is no longer neccessary.
    10. Removed the out function from authmod_gssapi.erl.
    11. Changed the behaviour of authmod_gssapi so that it simply returns fales when it doesn't find called with the correct headers.
    Previously it would crash.
    TODO: Add support for multiple authmods and Pam modules for one directory.
    Rewrite authmod_gssapi so that it simply returns true or false.
    Fix a bug in yaws_ls, it links directories without the final / which means that every time you enter a directory first a 302 page is sent with
    a redirect to "dir/".
    Properly sort the WWW-authenticate headers, apparently the order mathers. For example Negoiate needs to be above Basic realm for
    it to use Negoiate.
    faal committed Apr 15, 2009
Commits on Apr 14, 2009
  1. fix overlooked endian issue with socket_fd in set_error_buffer() (tha…

    …nks to Olivier Girondel)
    vinoski committed Apr 14, 2009
Commits on Apr 13, 2009