lundi 25 juillet 2016

how to access localhost website from diffrent computers other than hosted computer with local area connection

I tried to open my website from other computer performing steps explained at

How do I connect to this localhost from another computer on the same network?

It working fine too. But at "step 3b" I need to do changes in host file for opening it and I don't want that I want website should open once url is given without making changes in other pc or want to restrict access by giving client ip in httpd-vhosts.conf. I want all computers to access website connect in local area network.

How can I do this?

I tried editing httpd-xampp.conf

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Allow from all
    Allow from ::1 127.0.0.0/8 
        fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 
        fe80::/10 169.254.0.0/16

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

It's not working too...

Aucun commentaire:

Enregistrer un commentaire