httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38226] - UserDir resolving network directories incorrectly on Win32 machine
Date Thu, 08 Feb 2007 20:28:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38226>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38226


basant.kukreja@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From basant.kukreja@sun.com  2007-02-08 12:28 -------
I think, Apache's behaviour is correct. Here are my experiements :

<Directory "//myhost.mydomain/pubshare/users/">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>
UserDir "//myhost.mydomain/pubshare/users/*/public_html">


In myhost.mydomain machine, I created a public share named pubshare

F:\apache>dir \\myhost.mydomain\pubshare\users\basantk
 Volume in drive \\myhost.mydomain\pubshare is pubshare
 Volume Serial Number is 12E4-262A

 Directory of \\myhost.mydomain\pubshare\users\basantk

02/08/2007  11:55a      <DIR>          .
02/08/2007  11:29a      <DIR>          ..
02/08/2007  11:53a      <DIR>          public_html
               0 File(s)              0 bytes
               3 Dir(s)   2,555,269,120 bytes free

Now when I send the request :
/~basantk/index.html --> This returns the index.html located in
\\myhost.mydomain\pubshare\users\basantk\public_html directory

However if I send a request for a user which doesn't exist e.g
/~nonuser/index.html then the request resolved to <DocRoot/~nonuser/index.html.

Apache by default chains the handler. If a directory is not found or not
accessible then mod_userdir returns DECLINED and then apache looks the URI into
the docroot if it is found then apache serves the request.


Here are the information which I need from you :
* Have you specified Directory directive to give explicit permission? Apache
won't allow
  reading any directory other than docroot by default.
* Apache runs as a service so does Sysadmin have access to the directory and
  file which is required by Apache. In your case does administrator have
  access to "//othermachine/*/public_html" files. You can check that by
  logging to Administrator or by following steps
  (a) runas /user:Administrator cmd.exe
     <provide password>
  (b) In new command promote verify if following works:
      net use \\othermachine\<user_name>
      dir \\othermachine\<user_name>\public_html\

In my opinion this bug is invalid. I will wait for your response before
marking the bug as Invalid.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message