Created
April 10, 2014 14:55
-
-
Save ishtaka/20413afee0210763559c to your computer and use it in GitHub Desktop.
[Tomcat]Apacheとの連携
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo vi /etc/httpd/conf/httpd.conf | |
| // AJPを有効 | |
| LoadModule proxy_ajp_module modules/mod_proxy_ajp.so | |
| // ディレクトリを指定 | |
| <Location /path/> | |
| ProxyPass ajp://localhost:8009/path/ | |
| </Location> | |
| sudo vi tomcat/conf/Catalina/domain/path.xml | |
| // コンテキスト | |
| <?xml version="1.0" encoding="utf-8"?> | |
| <Context docBase="/path/to/path" debug="0" reloadable="true" crossContext="true"> | |
| </Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment