httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rose, John B" <jbr...@utk.edu>
Subject Re: [users@httpd] Re: Rewrite and automount question
Date Fri, 08 Aug 2014 19:40:18 GMT
"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 <rbowen@rcbowen.com<mailto:rbowen@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 <jbrose@utk.edu<mailto:jbrose@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 - rbowen@rcbowen.com<mailto:rbowen@rcbowen.com> - @rbowen
http://apachecon.com/ - @apachecon

Mime
View raw message