homepage Welcome to WebmasterWorld Guest from 54.211.138.180
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
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?
Acid_Paul




msg:1507439
 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?

 

wilderness




msg:1507440
 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




msg:1507441
 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.

Acid_Paul




msg:1507442
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved