Every body know why if i use drupal, cannot use phpmyadmin (installed with script), i always receive error 403 when i tried to load domain.tld/phpmyadmin
i havent this problem with other panel control!
As you are now probably aware a 403 http error code means you do not have access to your webserver as a visitor.
I am guessing here but your webserver is Apache? yes?
so I am also guessing that the application “Drupal” has placed some .htaccess file/code that is controlling your access to the directories below your root web application. - this is usually why you should place applications in their own sub directory and then use proxying to each one.
If you use the script to install phpadmin it usually goes in the /phpmyadmin directory. the same should have been the case for “drupal” there is no need for the different applications to interact and thus interfere with each other.
This has nothing to do with Virtualmin. It is, once again, the web application and the way it has been installed.
Yeah, if Drupal is in the document root, its redirect rules will prevent access to anything else in the same virtual server. In which case, you need to modify it to allow that access.
I’d probably recommend you put phpmyadmin into a Sub-server. Putting multiple apps into the same directory is somewhat risky and prone to human error in the future. e.g. if you remove an app in the root dir, it’ll remove apps in the subdirectories, too, and also all sorts of cross-app interactions can have surprising security implications…it has nothing to do with Virtualmin, it’s the nature of web apps and how security is implemented, things like CORS and such. We can’t change how every web app and web standards work, we are all that the mercy of the standards, so it’s best to work with them rather than against them. Different apps that aren’t sharing assets, authentication, sessions, and CORS policies, etc. (as phpmyadmin and Drupal aren’t…though these two specific apps are probably safe in this configuration, AFAIK), should generally get their own domain name. A sub-server could be a subdomain name, so you don’t need to buy new domains…a name is a name.
I am very grateful to have your support, for people who handle some aspects of technology, (not all) it is difficult to find the interactions between different software. once again, thank you very much for your knowledge, everyone Happy New Year!!!