[Apache] Redirect 80 to 8080

  1. enable proxy_module, proxy_http_module, rewrite_module

  2. set < Directory path > in apache config

    RewriteEngine on
    AllowOverride All

  3. edit .htaccess in your folder

    < IfModule mod_rewrite.c >
    RewriteEngine On
    RewriteBase /
    RewriteRule ^(.+)$ http://localhost:8080/jwebadm/$1 [P,L]
    < /IfModule >

  4. restart apache

This entry was posted in Apache. Bookmark the permalink.