"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 <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, August 8, 2014 3:24 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> Date: Friday, August 8, 2014 9:51 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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 - [email protected]<mailto:[email protected]> - @rbowen http://apachecon.com/ - @apachecon
