tags:

views:

138

answers:

0

Dear all

.htaccess file cannot support when mod_jk connector used in virtualhost created in httpd.conf

.htaccess file

RewriteEngine on
RewriteRule ^index\.html$  index.iface

httpd.conf

<VirtualHost 112.109.128.170:80>
   ServerAdmin "[email protected]"
   ServerName www.vpaycash.in
   MIMEMagicFile /dev/null
   CustomLog logs/vpaycash.in_access_log "%h %l %u %t \"%r\" %>s %b\"%{Referer}i\" \"%{User-agent}i\""
   ErrorLog logs/vpaycash.in_error_log

   DocumentRoot "/home/vpaycashinadmin/webapps"
   <Directory "/home/vpaycashinadmin/webapps">
       Options +Indexes +FollowSymLinks
       Order allow,deny
       Allow from all
       AllowOverride All
   </Directory>

   JkMount /* wlb
   JkMount /*.faces wlb
   JkMount /*.html wlb
   JkMount /*.iface wlb
   JkMount /*.jspx wlb
   JkMount /TestFilter wlb
   JkMount /block/* wlb
   JkMount /xmlhttp/* wlb
   Alias /usage "/home/vpaycashinadmin/public_html/usage"

   <Location /usage>
       Order allow,deny
       Allow from all
   </Location>
</VirtualHost>