Skip to content

Instantly share code, notes, and snippets.

@songlipeng2003
Last active August 29, 2015 13:57
Show Gist options
  • Save songlipeng2003/9656618 to your computer and use it in GitHub Desktop.
Save songlipeng2003/9656618 to your computer and use it in GitHub Desktop.
apache ProxyPass Alias 冲突解决
<VirtualHost *:80>
ServerName test.com
Alias /artemis-image/ "D:\EPD\Trunk\Development\Source\1.0\exam\oldSystem\artemis-image/"
<Directory "D:\EPD\Trunk\Development\Source\1.0\exam\oldSystem\artemis-image/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
ProxyRequests Off
ProxyPass /artemis-image !
ProxyPass / http://127.0.0.1:8080/Artemis/
ProxyPassReverse / http://127.0.0.1:8080/Artemis/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment