Einen Alias von virtualhost proxypass ausschließen
Ich verfolge die Konfiguration des virtuellen Hosts. Das gewünschte Ergebnis ist:
Wenn jemand nach @ frahttp: //test.myserver.com/myap, Apache bedient ihn aus / var / www / myappUnd wennhttp: //test.myserver.com wird angefordert, Apache leitet es an Port 8069 weiter.2nd funktioniert, 1st aber nicht. Kann mir bitte jemand helfen!
<VirtualHost *:80>
ServerName test.myserver.com
Alias /myapp /var/www/myapp
<Directory /var/www/myapp>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ProxyPass / http://localhost:8069/
ProxyPassReverse / http://localhost:8069/
</VirtualHost>