Welcome to WebmasterWorld Guest from 54.145.246.183

Forum Moderators: Ocean10000 & incrediBILL & phranque

Shall mod_rewrite work if IP address is dynamic?

   
8:48 pm on Jun 26, 2003 (gmt 0)

10+ Year Member



I've recently received an email from my web host saying:

"Since your domain does not have a static IP address but acquires a dynamic address you may not be able to use the mod_rewrite feature."

For some reason it seemed fishy to me and I decided to find out for sure. I've been trying to find the true answer via searching Google and scanning apache docs on mod_rewrite. And I hope it's not that self-explanatory and trivia that it wasn't just covered anywhere. So, is it true?

10:38 pm on Jun 26, 2003 (gmt 0)

WebmasterWorld Senior Member wilderness is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



How about testing it with a referral from one of your own pages?

RewriteEngine on
Rewrite Cond %{HTTP_REFERER} ^www.yourdomain.com.*
RewriteRule ^.*$ - [F]

Please note: The Rewrite on should only be if it has not been turned on prevously.

10:40 pm on Jun 26, 2003 (gmt 0)

WebmasterWorld Senior Member jeremy_goodrich is a WebmasterWorld Top Contributor of All Time 10+ Year Member



That sounds odd to me as well, if they are dynamically allocating your site an IP address, it may cause the site problems in getting indexed / ranked in some search engines as well.
7:31 am on Jun 27, 2003 (gmt 0)

10+ Year Member



Thanks for the input so far. I can't verify it really because they don't allow .htaccess. Dumb, he? I learned it in that same email from them. What would you think my webhost is? Hint: they have the largest web portal on the Web %-)

I'll try contacting them and playing fool, asking to use mod_rewrite in their main config files, maybe they'll give up finally.

So far I haven't had any problems with indexing and I hope dynamic IP won't cause anything sagnificant.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month