Re: Adding users...

From: Matthew Seaman (m.seaman_at_infracaninophile.co.uk)
Date: 11/27/03

  • Next message: Bob Perry: "Re: Problem upgrading /lang/librep (librep-0.16.2_2)"
    Date: Thu, 27 Nov 2003 19:46:04 +0000
    To: FreeBSD-questions <questions@FreeBSD.ORG>
    
    
    

    On Thu, Nov 27, 2003 at 08:31:27PM +0100, Jean-Baptiste Quenot wrote:

    > 3) If you want to have your user directories outside of the document
    > root, you will have to setup an Alias for each user, or to define
    > another virtual host. But that becomes close to solution 1 in that
    > case.

    Apache has the UserDir directive for this purpose. The default
    setting makes it so that user fred can create a directory
    ~fred/public_html that is visible to the world as
    http://www.example.com/~fred/

    See: http://httpd.apache.org/docs-2.0/mod/mod_userdir.html#userdir
         http://httpd.apache.org/docs-2.0/howto/public_html.html

    If you don't want the '~' symbol to appear in your URLs, you can't use
    UserDir. However, if you have a regular layout of your user
    directories, you can use 'AliasMatch' to achive much the same effect:

        http://httpd.apache.org/docs-2.0/urlmapping.html#user

            Cheers,

            Matthew

    -- 
    Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                          Savill Way
    PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
    Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
    
    


    • application/pgp-signature attachment: stored

  • Next message: Bob Perry: "Re: Problem upgrading /lang/librep (librep-0.16.2_2)"

    Relevant Pages

    • [SLE] How do I setup Evolution to receive system mail???
      ... I had this setup before my upgrade, but no I've forgot how to do it. ... I have myself as an alias to root in /etc/aliases, ... setup Evolution to receive system mail that is supposed to go to root. ... Neuro Logic Systems ...
      (SuSE)
    • [SLE] How do I setup Evolution to receive system mail???
      ... I had this setup before my upgrade, but no I've forgot how to do it. ... I have myself as an alias to root in /etc/aliases, ... setup Evolution to receive system mail that is supposed to go to root. ... Neuro Logic Systems ...
      (SuSE)
    • Re: Is my directory corrupted?
      ... >apache or administrate.... ... OK - it can be a real problem running as root, ... you've got an alias going there - your 'ls' is actually running as ... Also, is your Samba server in there - again, these should ...
      (alt.os.linux)
    • Re: F 9 problems to install
      ... from root - startx: ... No screens found ... The display driver is NVIDIA GeForce 9600GT. ... I typed "setup" and got a setup which included X. ...
      (Fedora)
    • Re: kernel panic
      ... echo Mounting /proc filesystem ... echo Mounting root filesystem ... Grub may have told the kernel to look in the wrong place for the root file system, the file system might be unreadable, or you may have moved the system onto a machine with a different type of disk controller that needs a different driver module included on the initrd. ... If your rescue boot mounts the system drives and suggests a chroot command, do that, then add the right alias command to /etc/modprobe.conf and then run mkinitrd. ...
      (Fedora)