S
S
ski282019-01-18 23:53:47
PHP
ski28, 2019-01-18 23:53:47

How to setup access to phpmyadmin in apache2?

Good afternoon. I'm running express on port 3000, to access the site via a direct link I configured apache2 like this

<VirtualHost *:80>
  ServerName site.ru

  ProxyRequests Off
  ProxyPreserveHost On

  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>

  ProxyPass / http://site.ru:3000/
  ProxyPassReverse / http://site.ru:3000/
</VirtualHost>

But now I can't get to phpmyadmin , how to configure this file correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-01-19
@dodo512

httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypass

ProxyPass /phpmyadmin  !
ProxyPass / http://site.ru:3000/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question