Support » Localhost Installs » WordPress XAMPP LAN problem

  • chrisiwien

    (@chrisiwien)


    Hi!

    I try to configure XAMPP to have access in my LAN. I have managed to do this for static pages by enhancing the “http-xampp.conf” file:

    <LocationMatch „^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))“>
    Order deny,allow
    Deny from all
    Allow from ::1 127.0.0.0/8
    Allow from ::1 192.168
    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </LocationMatch>

    However, this works only for static html-pages. I can access them via “192.168.0.31 (on this machine is XAMPP running)/[static page]” without any problem.

    If I try to reach a wordpress installation it fails, the URL in the browser on the client computer changes to “localhost/[wordpress installation]”, therefore the page fails to load.

    I changed all database entrys from “localhost” to “192.168.0.31” without success.

    Because the static pages are loading via LAN i guess there has to be a problem with wordpress and not XAMPP.

    What may be the problem? Perhaps some of the wordpress caching features may cause the problem. In a forum entry (in german) someone said suddenly it worked without any changes made.

    I appreciate any help on this issue.

    • This topic was modified 4 weeks ago by  chrisiwien.
    • This topic was modified 4 weeks ago by  chrisiwien.
    • This topic was modified 4 weeks ago by  chrisiwien.
    • This topic was modified 4 weeks ago by  chrisiwien.
    • This topic was modified 4 weeks ago by  chrisiwien.
    • This topic was modified 4 weeks ago by  chrisiwien.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.