Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#26 No PSP support for ~user/ directory

closed
nobody
WebKit (58)
5
2006-07-06
2002-11-25
Stuart Donaldson
No

The support for PSP pages does not seem to work for
users home directories using ~ expansion. The system
tries to parse the http://host/~user/file.psp URL placing
the /~user/file.psp relative to the DOCUMENT_ROOT,
rather than parsing the ~user into the users home web
directory.

A fix for this will likely involve a fix to mod_webkit, to
retrieve the location of the UserDir configuration directive
to determine the users web subdirectory.

Fortunately, os.path.abspath() will handle the ~
expansion on the name.under *nix, however I am not
clear on if this even applies under NT.

Discussion

  • Ian Bicking
    Ian Bicking
    2002-11-25

    • labels: --> WebKit
     
  • Ian Bicking
    Ian Bicking
    2002-11-25

    Logged In: YES
    user_id=210337

    My recollection of user directories in Apache is that they
    are fairly
    primitive -- essentially you're aliasing /~*/ to
    /home/*/public_html/

    I assume the problem is because webkit-handler is being
    invoked prior to
    the user directory rewriting. Probably the fix is in how
    httpd.conf is
    written, and the change to Webware is one of documentation.

     
  • Logged In: YES
    user_id=193957

    I think this is a webserver configuration issue only. And is
    there really a difference between PSP and other servlets?

    If you still think it is a Webware issue, please provide
    some more information about your webserver configuration and
    WebKit context setup.

     
    • status: open --> closed