Tuesday, 15 January 2013

wamp - Test mobile website -


I am developing a mobile website and by now I am testing it in Chrome. Now I would like to test it on my phone

I am using WAMP and in my host file I have the following: 127.0.0.1 www.mysite.com

My httpd In .conf:

  & lt; Directory / & gt; Allow Override Everyone needs all the given & lt; / Directory & gt; & Lt; VirtualHost *: 80 & gt; Server name www.mysite.com DocumentRoot "D: / path / to / website / root" directory index index.php & lt; / VirtualHost & gt;   

What should I type in my mobile browser to kill this website? Do I need to change some WAMP settings or something else?

Add httpd.conf or rule to an alias file for your project:

  & lt; Directory "D: / path / to / website / root" & gt; Allow all cancel orders, Allow all to deny 127.0.0.1 Allow from 192.168.1 Allow & Lt; / Directory & gt;   

Make sure that after configuring the configuration to look at the effect, you restart Apache, you can also click the WAMP "Online by clicking the icon in the system tray and selecting" Keep online " "May have to be inserted.

Then try to reach the page using the host's computer's local IP address.

No comments:

Post a Comment