Created
October 19, 2012 12:43
-
-
Save MinCha/3918064 to your computer and use it in GitHub Desktop.
Apache Conf For Apache First Tomcat Late
This file contains 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
<VirtualHost *:80> | |
DocumentRoot /home1/www/data | |
ServerName some.com | |
SetEnvIf Request_URI "/staged/linecamera" no-jk | |
Alias /staged/camera "/home1/www/data/camera-admin" | |
<Location /staged/camera> | |
Options Indexes FollowSymLinks | |
Order allow,deny | |
Allow from all | |
</Location> | |
<IfModule mod_jk.c> | |
JkMount /* worker1 | |
JkMountCopy On | |
</IfModule> | |
CustomLog "|/usr/local/apache2/bin/rotatelogs -l /usr/local/apache2/logs/camera-admin_access_log.%Y%m%d 86400" combined env=!nolog-request | |
ErrorLog "|/usr/local/apache2/bin/rotatelogs -l /usr/local/apache2/logs/camera-admin_error_log.%Y%m%d 86400" | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment