You may need to load the mod_rewrite module. This can be done via:
sudo a2enmod rewrite

-Will

On Mon, Sep 5, 2016 at 7:10 AM, Raymond Wan <rwan.work@gmail.com> wrote:
Hi Jochen,



On Sat, Sep 3, 2016 at 2:31 AM, Bick  Jochen <jochen.bick@usys.ethz.ch> wrote:
>         RewriteEngine on
>         RewriteRule ^(.*) http://localhost:8080$1 [P]
...
> but it does not have any effect. Here the error.log but there is no error:
> [Fri Sep 02 15:28:21.677881 2016] [mpm_event:notice] [pid 6627:tid 140049034254208] AH00493: SIGUSR1 received.  Doing graceful restart

I presume you've restarted the web server after making this change?

Apache's mod_rewrite (the module you are using to achieve the above)
has a logging facility, which you might want to read about:

http://httpd.apache.org/docs/current/mod/mod_rewrite.html#logging

Also, as what you're trying to do isn't specific to Galaxy, you might
want to ask your questions on other forums.  (i.e., askubuntu, etc.)
They may not know what Galaxy is, but if you pose the problem as a
redirection from port 80 to 8080 (and you wanted 443, as well?), I
think an Apache expert (not me; I have gotten what you're doing
working before, but it was a while ago and maybe I was just lucky) may
be able to help.

Ray
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/



--
The information contained in this e-mail message or any attachment(s) may be confidential and/or privileged and is intended for use only by the individual(s) to whom this message is addressed.  If you are not the intended recipient, any dissemination, distribution, copying, or use is strictly prohibited.  If you receive this e-mail message in error, please e-mail the sender at wholtz@lygos.com and destroy this message and remove the transmission from all computer directories (including e-mail servers).

Please consider the environment before printing this email.