How to access XAMPP site from another PC on local network

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Me88
    New Member
    • Mar 2013
    • 7

    How to access XAMPP site from another PC on local network

    Hi. I'm having the same dilemma here but my case is with XAMPP. Not WAMP. How can I make it happen? I uploaded my PHP file to a server and now I would like to access it using the other PC (of course LAN)..how can I do that? I can only access it by just typing 10.194.94.124/home.php from the server itself but I can't access it using other PC. Please help. I'm in a critical situation now :(
    Thanking everybody in advance
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    I can only access it by just typing 10.194.94.124/home.php from the server itself
    are you using the file:// or the http:// protocol here?

    Comment

    • Me88
      New Member
      • Mar 2013
      • 7

      #3
      I am using the http://

      Comment

      • Me88
        New Member
        • Mar 2013
        • 7

        #4
        I am using http://
        So is there any way I can make it happen? What should I change? what should I add in? I need help :(

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          if you use HTTP and a network URI, it should work. the only option I could imagine is that the server itself denies requests from other IPs, but that should be listed in either httpd.conf or .htaccess.

          Comment

          • Me88
            New Member
            • Mar 2013
            • 7

            #6
            So in which line on the httpd.conf can I detect it? And what should it be set to?

            Comment

            • Dormilich
              Recognized Expert Expert
              • Aug 2008
              • 8694

              #7
              where the Access Control section is (there is no specific line number, though).

              Comment

              • Me88
                New Member
                • Mar 2013
                • 7

                #8
                Yes, and this is what I have:

                Code:
                #AllowOverride controls what directives may be placed in .htaccess files.
                #It can be ''All'',''None'', or any combination of the keywords:
                #      Options FileInfo AuthConfig Limit
                #
                AllowOverride All
                
                #
                #Controls who can get stuff from this server.
                #
                Order allow,deny
                Allow from all
                So is there anything that should be changed here? Based on my understanding after look through all these, seems like it ALLOW. Correct me if I'm wrong.
                Last edited by Rabbit; Mar 25 '13, 02:07 AM. Reason: Please use code tags when posting code.

                Comment

                • Dormilich
                  Recognized Expert Expert
                  • Aug 2008
                  • 8694

                  #9
                  doesn’t look like you should change something here.

                  Comment

                  • Dormilich
                    Recognized Expert Expert
                    • Aug 2008
                    • 8694

                    #10
                    can you reach the server PC via network at all?

                    Comment

                    • Me88
                      New Member
                      • Mar 2013
                      • 7

                      #11
                      No, I can't. That's the problem I'm facing now :(

                      Comment

                      • Dormilich
                        Recognized Expert Expert
                        • Aug 2008
                        • 8694

                        #12
                        well, if you don’t even have an arbitrary network (e.g. LAN) connection, then you can’t access a (web related) file anyways.

                        Comment

                        • Me88
                          New Member
                          • Mar 2013
                          • 7

                          #13
                          But there is nothing wrong on how I access the XAMPP, right? there's a PHP project I saved on the server, and way to access is http://10.194.94.126/myproject
                          Am I right?

                          Comment

                          • Dormilich
                            Recognized Expert Expert
                            • Aug 2008
                            • 8694

                            #14
                            I’m confused. do you or don’t you have access from another PC to the server PC? (that the server has access on its own machine should be obvious).

                            Comment

                            Working...