Welcome to WebmasterWorld Guest from 23.20.6.115

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Shall mod_rewrite work if IP address is dynamic?

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

New User

10+ Year Member

joined:June 26, 2003
posts:2
votes: 0


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 June 26, 2003 (gmt 0)

Senior Member

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

joined:Nov 11, 2001
posts:5459
votes: 3


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 June 26, 2003 (gmt 0)

Senior Member

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

joined:Aug 4, 2000
posts:3468
votes: 0


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 June 27, 2003 (gmt 0)

New User

10+ Year Member

joined:June 26, 2003
posts:2
votes: 0


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.