2 votes

How to install Apache, MySQL, PHP and Composer via apt?

Yes, it is possible. As per the man page, the install subcommand of apt accepts one or more packages: install, remove, purge (apt-get(8)) Performs the requested action on one or more ...
user avatar
  • 21
1 vote

RewriteRule overrides ProxyPass

Add a RewriteCond to your problematic RewriteRule to exclude the case of accessing the path used in ProxyPass: RewriteCond "%{REQUEST_URI}" !^/mediaproxy.* RewriteRule ^/.* /index.php [L] ...
user avatar
  • 111
1 vote
Accepted

RewriteRule overrides ProxyPass

Figured it out. Just add [P] to the rewrite rule and it start to behave as reverse proxy ProxyPass /mediaproxy http://127.0.0.1:9001/mediaproxy ProxyPassReverse /mediaproxy http://127.0.0.1:9001/...
user avatar
  • 355

Only top scored, non community-wiki answers of a minimum length are eligible