applications include homes directories

24 views
Skip to first unread message

lucas

unread,
Jun 8, 2021, 6:22:45 AM6/8/21
to web2py-users
hello one and all,

ok, old days of apache.  you could configure apache to include the homes directories for individuals that could login on the unix/linux server.  for instance, the url would include the username and apache would know redirect to that user's home directory/subdirectory and serve up the pages starting with index.html.

is there a way to allow linux users to add an applications directory under their home/user_name directory and web2py know to refer to that homes application with a url comes in for it.  still keeping the primary applications in play under the web2py directory also?

lucas

Dave S

unread,
Jun 8, 2021, 10:06:31 PM6/8/21
to web2py-users
Since it is linux, I would use a logical link in the regular application directory to point to the privileged user's directory.  But what sort of application are they adding?  If static web pages, then you probably leave most of the web2py-ishness in the normal directory, and just link to a "content" directory, with a simple controller   If they need database access or to manipulate the view, then they need more of the web2py features, I'd think.

/dps
Reply all
Reply to author
Forward
0 new messages