"What's automounter? Is that some process that mounts a user's home directory 
on a remote share or something?"

Yes. But only when it is requested. I.e. When you login via ssh, or access a 
web site via http whose content is in the remote filesystem, etc. You may refer 
to it as autofs.


From: Rich Bowen <rbo...@rcbowen.com<mailto:rbo...@rcbowen.com>>
Reply-To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" 
<users@httpd.apache.org<mailto:users@httpd.apache.org>>
Date: Friday, August 8, 2014 3:24 PM
To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" 
<users@httpd.apache.org<mailto:users@httpd.apache.org>>
Subject: Re: [users@httpd] Re: Rewrite and automount question


On 08/08/2014 11:59 AM, Rose, John B wrote:
mod_userdir does not seem to cause superfluous automounter attempts when an 
http request to a non-existent web address, http://website.com/~someuser, is 
received

Is there some way to implement that mechanism with http://website.com/someuser 
http requests for a nonexistent "someuser"?

What's automounter? Is that some process that mounts a user's home directory on 
a remote share or something?

I suppose you could query a list of valid users on server startup, and use that 
(via mod_macro or something?) to generate a list of Alias directives? Or 
possibly use a RewriteMap to do the same thing based on a list of users, 
although RewriteMap can be a bit of a performance bottleneck.

--Rich



From: <Rose>, John Rose <jbr...@utk.edu<mailto:jbr...@utk.edu>>
Date: Friday, August 8, 2014 9:51 AM
To: "users@httpd.apache.org<mailto:users@httpd.apache.org>" 
<users@httpd.apache.org<mailto:users@httpd.apache.org>>
Subject: Rewrite and automount question

We have experimented with using Rewrite to replace /~someuser with /someuser

However there is a problem with systems using automounter in the case of an 
http request for a non-existing http://someserver.com/someuser

Anyone have a way to implement the above without doing undesired automount 
attempts of a non-existent "someuser"?

Thanks




--
Rich Bowen - rbo...@rcbowen.com<mailto:rbo...@rcbowen.com> - @rbowen
http://apachecon.com/ - @apachecon

Reply via email to