The HTML look perfectly alright. If I change the URL to IP also it works
good. something like, I can access server.com/products ip/products, both
show up correctly.

You can check my site at http://cdachyd.in, as well the same with its Ip
http://196.12.45.103

When you access with cdachyd.in, all links of the pages point to cdachyd.in
When you access with 196.12.45.103, the site home page opens open but if
you observe the links, allover the page, like  esecurity etc they point to
cdachyd.in/xxx

If I change my rewrite rule to

    RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/196.12.45.103:80/Site/VirtualHostRoot/$1
[P,L]

then all links with 196.12.45.103 and cdachyd.in point to Ip based links only.

any help is appreciated.

thanks
indraveni



On Wed, Jan 18, 2012 at 5:38 PM, Eric Covener <cove...@gmail.com> wrote:

> > IF I access server.com -> all links in my site are with
> server.com/products,
> > server.com/services etc
> >
> > But I access with 192.168.52.58 -> site opens up well , but the links of
> the
> > pages are server.com/products, server.com/services
> >
> > How can I resolve this ? I mean my site should be linked to its internal
> > pages with which ever domain name I am accessing the site.
>
> What does the HTML look like?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to