Hi
<snipped>
> > Suppose i have a domain called www.xyz.com which
> > should be redirected to another webserver. So i added
> > these rules in httpd.conf
> >
> > RewriteEngine On
> > RewriteCond %{HTTP_HOST} ^xyz.*
> > RewriteRule ^/(.*)$ http://192.168.0.2:8686$1
>
>Can you try rewrite on sepcific domain before you use wild cards.
>
>RewriteCond %{HTTP_HOST} www.xyz.com
>then check;
>http://httpd.apache.org/docs/misc/rewriteguide.html
Pls try This:
RewriteCond %{HTTP_HOST} ^www.xyz.com$ [NC]
RewriteRule ^.*$ http://192.168.0.2:8686/ [R,L]
Do let me know if it works
Thanks,
Sanvir
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/