About the "Galaxy as a subdirectory" section of the documentation I have a couple questions.

Assuming  the rewrite rules be changes to the apache httpd.conf file should they be part of a directory tag and should the directory specified just be the path to the galaxy_dist directory in the main server configuration?

Also to change the port from 8080 to another port are the only changes necessary the following rewrite rule : RewriteRule ^/galaxy(.*) http://localhost:8080$1 [P] and "port=8080" in the server:main section of the universe_wsgi.ini file?