modrewrite help needed....plz :(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

 

 

OS /  WINDOWS 2000

MODJK:  mod_jk-1.2.28-httpd-2.2.3.so

APACHE: APACHE_2.2.11-win32-x86-no_ssl.msi

APPSERVER : JBOSS 4.2.1

JAVA: JDK5.0.8

USED TYPE : INTRANET

 

 

 

I have done the following  changes  in “httpd.conf”

 

 

LoadModule jk_module C:/Apache/modules/mod_jk.so

LoadModule rewrite_module C:/Apache/modules/mod_rewrite.so

<IfModule mod_jk.c>

JkWorkersFile conf/workers1.properties

JkLogFile logs/mod_jk.log

JkLogLevel error

JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

JkRequestLogFormat "%w %V %T"

 

<Directory /SEARCH/* >

AllowOverride all

</Directory>

 

 

RewriteEngine on

RewriteLog "C:/APACHE/logs/rewrite.log"

RewriteLogLevel 9

RewriteRule   ^SEARCH\.html$ /SEARCH/index.html?area1=sq

 

</IfModule>

 

 

I need the modrewrite    to rewrite as  “index.html?area1=sq”    when some body  types “ http://<IP>/SEARCH

 

Have I done any thing wrong in  modrewrite in http.conf  ?…..

 

With regards

karthik

 

 

 

 

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux