.htaccess - How to do an Apache2 rewrite for ip based address -


i have development server has ubuntu server 10.10 ip of 192.168.0.175. when enable rewrite mod apache2 , change site config allow rewrite things messed up.

with rewrite turned off , allow rewrites none type in 192.168.0.175/test , site loads, turned on changes address www.192.168.0.175/test , site not load.

why happening?

www.192.168.0.175 wrong. if type www browser assumes domain name.

the ip's should prefixed www


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -