.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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -