Re: [users@httpd] UNC paths for user dirs

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

 



On 11/29/05, Kevin Mitchell <kevin@xxxxxxxxxxx> wrote:
> I'm running Apache 2.0.52 under Windows XP.  I want to use UNC paths for
> user directories so I define
>
>
> Alias /mfsdir "//mfs/admin 1"
> UserDir "/mfsdir/*/My Website"
>
>
> <Directory "/mfsdir/*/My Website">
> ...
> </Directory>
>
>
> When I try to access a user directory using http://1.2.3.4/~foo the system
> complains that I don't have permission to access /~foo on this server.
> However, I can successfully access
> http://1.2.3.4/mfsdir/foo/My Website, which suggests that the userdir
> directive isn't expanding as I was expecting, rather than a genuine
> permission issue.  I've tried lots of different permutations, with no
> success.  Have I made a silly mistake in my UserDir line, or do aliases
> and userdir directives not work together in this way?

UserDir should do the aliasing itself.  So you want something more like:
UserDir "//mfs/admin 1/*/My Website"
and similarly, the <Directory> section should address the full
file-system path and not the web-path.

Joshua.

---------------------------------------------------------------------
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