我配置了 apache proxypass,它可以工作,但无法加载图像、javascript、CSS 等...我想 proxypass 到另一台服务器,而不是本地主机。以下是我的配置。
<VirtualHost *:80>
ServerName app.server.com
DocumentRoot /var/www/html/subdomain
RewriteEngine on
ProxyRequests Off
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyPass /apm http://192.168.1.102:9999/
ProxyPassReverse /apm http://192.168.1.102:9999/
</virtualHost>
Run Code Online (Sandbox Code Playgroud) 我的应用程序依赖于 PowerShell 版本 5。但是一些旧的 Windows 系统没有安装我们的应用程序运行的相同版本。那么有什么方法可以运行我放在我的应用程序文件夹中的独立 PowerShell。所以我的应用程序不依赖于系统 PowerShell。