Hi
i had install apache
#yum install httpd*
#cd /etc/httpd/conf/httpd.conf
#Listen 12.34.56.78:80
Listen 10.200.1.39:80
Listen 10.200.1.39:90
Include /etc/httpd/conf/httpd-server1.conf
Include /etc/httpd/conf/httpd-server2.conf
#cd /etc/httpd/conf
[root@mail conf]# ls
httpd.conf httpd-server1.conf magic
httpd.conf.rpmsave httpd-server2.conf workers.properties
#cd /etc/httpd/conf/httpd-server2.conf
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*)
http://mail.ert.com:8080/jsp/b2b/index.jsp
[root@mail ~]# cd /root/tomcat/apache-tomcat-6.0.26/webapps/ROOT/
[root@mail ROOT]# ls
asf-logo-wide.gif index.html RELEASE-NOTES.txt tomcat.svg
build.xml index.jsp tomcat.gif WEB-INF
favicon.ico jsp tomcat-power.gif
[root@mail ROOT]# cd jsp/
[root@mail jsp]# ls
b2b b2c
[root@mail jsp]# cd b2
bash: cd: b2: No such file or directory
[root@mail jsp]# cd b2b/
[root@mail b2b]# ls
jsp
[root@mail b2b]# cd jsp/
[root@mail jsp]# ls
index.jsp
[root@mail jsp]#
i want the
http://mail.ert.com:90 to divert to follwoing url
http://mail.ert.com:8080/jsp/b2b/index.jsp
i had included these mod rewrite rule in httpd-prod2.conf but still i could int get divert to /jsp/b2b/index.jsp when i hit
http://mail.ert:90
can someone help me how can i solve the isssue ..