Accessing localhost (xampp) from another computer over LAN network - how to?

后端 未结 24 3547
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 14:01

I have just set up a wi-fi network at home. I have all my files on my desktop computer (192.168.1.56) and want to access localhost over there from another computer (192.168.

24条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 14:31

    If you are using XAMPP 1.8.3 Navigate to file httpd-xampp.conf and search for " # # New XAMPP security concept # server-status | server-info))">

         Require local
         ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
         
    

    "

    Cut this code and save it somewhere for later use i.e restoring this feature( remember removing this code makes your computer vulnerable). Save changes on httpd-xampp.conf, restart services on XAMPP and that's it.

提交回复
热议问题