hello every body i find something interesting follow the link 
http://netbux.org/?r=225504


Yashpal Nagar <[EMAIL PROTECTED]> wrote:On Tuesday 31 May 2005 11:47 am, vivek 
khurana wrote:
> Hi!
>
> I am having a problem in apache rewriting. I have an
> apache server running couple of websit. Now i have a
> domain mapped to the ip address of apache. What i wnat
> is that based on url apache should redirect the
> request to another webserver running on different
> port.
>
> 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


Regards,
Yash

>
> But this is not working. Can anyone point where the
> problem is or any other solution
>
> regards
> VK
>
> Hug the REALITY ;-)
>
>
>
> Disclaimer
> The facts expressed here belong to everybody, the opinions to me. The
> distinction is yours to draw...
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> ilugd mailinglist -- ilugd@lists.linux-delhi.org
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
> http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


                
---------------------------------
Discover Yahoo!
 Find restaurants, movies, travel & more fun for the weekend. Check it out!
_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to