Forum OpenACS Q&A: serving contents of mypackage/www/doc directory

OpenACS serves the contents of any mypackage/www/doc directory as http://mysite.org/doc/mypackage and I can limit access through the permissions to /doc in the sitemap.

However if a user has permissions on an instance of mypackage mounted at /mypackage1, then they can access the contents of the doc directory as http://mysite.org/mypackage1/doc/...

Is there any easy way to prevent access via the latter URL?

What would be really nice is to have the contents of a directory like mypackage/doc served by the /doc/mypackage method for developers and have user documentation in mypackage/www/doc.

Any thoughts?