WebSphere HTTP Server - Re: Redirect <a href="http://my-domain.com">http://my-domain.com</a

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > May 2006 > Re: Redirect <a href="http://my-domain.com">http://my-domain.com</a





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Redirect <a href="http://my-domain.com">http://my-domain.com</a

2006-05-04, 1:16 pm

Now I have used mod_rewrite and configured my httpd.conf file as following:

...
LoadModule rewrite_module modules/mod_rewrite.so
...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^0.0.0.0$ [NC]
RewriteRule ^(.*)$ https://0.0.0.0 [R=301,L]
...


Thats it.
works fine.
8-)


> Use mod_rewrite.
>
> http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
>
> Sunit
>
> <jbogner@de.ibm.com> wrote in message
> news:1110209532.1146745812835.JavaMail.wassrvr@ltsgwas
> 007.sby.ibm.com...
> redirect the domain
> https://my-domain.com
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com