homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Shall mod_rewrite work if IP address is dynamic?

 8:48 pm on Jun 26, 2003 (gmt 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 Jun 26, 2003 (gmt 0)

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.

jeremy goodrich

 10:40 pm on Jun 26, 2003 (gmt 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 Jun 27, 2003 (gmt 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved