-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Farid,
On 11/16/12 3:26 PM, Farid Haider wrote: > I have created file mod_jk.conf in /etc/httpd/conf.d/ (as follows) > [root@asuslaptop conf.d]#cat > /etc/httpd/conf.d/mod_jk.conf > JkWorkersFile "/etc/httpd/conf.d/workers.properties" JkLogFile > "logs/mod_jk.log" JkLogLevel info JkMount /*.jsp worker1 JkMount > /servlet/* worker1 JkMount /*.do worker1 JkLogStampFormat "[%a %b > %d %H:%M:%S %Y] " > > I have edited httpd.conf as follows: [root@asuslaptop conf.d]# cd > /etc/httpd/conf/ [root@asuslaptop conf]# vi httpd.conf - added the > line: LoadModule jk_module modules/mod_jk.so - Edited the following > line to be: DirectoryIndex index.htm default.htm default.jsp - I > have added the following virtual host: <VirtualHost *:80> > ServerAdmin fhai...@odline.com DocumentRoot > /var/www/html/lofttreasures ServerName www.lofttreasures.com > ErrorLog logs/lofttreasures.com-error_log CustomLog > logs/lofttreasures.com-access_log common </VirtualHost> - At the > end if the file I have inserted: Include conf.d/*.conf Your JkMounts are not inside a VirtualHost, so they will have no effect. Either put your JkMounts (or include them) in a VirtualHost, or use JkMountCopy within the VirtualHost(s) you want to use those mounts. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCn7KMACgkQ9CaO5/Lv0PCqrwCdEngn8u4I4tVZYiA/v9eZjwCI AfgAn351kqT2njVCSC3H/qfKOJH104i6 =5LQG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org