[users@httpd] Alias'es for each User

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello guys,

I get today a 'aliasname' defined in a Virtual Host and this is working
fine, like this :

Directory Structure

  /home/website/public_html <--> DocumentRoot <--> http://hostname/
  /home/website/aliasname <--> Alias Definition <-->
http://hostname/aliasname

.. and this is the piece of code defining the 'aliasname'.

    Alias /aliasname "/home/website/aliasname/"

    <Directory "/home/website/aliasname/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

As you can see, I put aliasname and public_html directories on the same
level for some security reasons and this is the reason why I am using an
alias definition.

Now I would like to configure this on another server where I get many
users for which I would like to give the opportunity to get this same
aliasname defined but this doesn't work until now.

So my directory structure would be something like this :

/home/User1/public_html
            aliasname
      User2/public_html
            aliasname
 ...   ...

-> I defined the virtual host
-> mod_userdir module with this config

    UserDir public_html

    <Directory /home/*/public_html>
        AllowOverride FileInfo AuthConfig Limit Indexes
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
        <Limit GET POST OPTIONS PROPFIND>
            Order allow,deny
            Allow from all
        </Limit>
        <LimitExcept GET POST OPTIONS PROPFIND>
            Order deny,allow
            Deny from all
        </LimitExcept>
    </Directory>

but how can I define my 'aliasname' so that it will be available for
each user ?

Thanks to help me.
Vincent.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux