ninedoors Posted October 27, 2009 Share Posted October 27, 2009 I have a bunch of computers setup on a network at work. I have created some programs in php using xampp as my server on the main computer. How would I go about using those programs from the other computers without copying the files to all the otehr computers. Basically I would like to use the main computer as an intranet server for the other computers to call the webpage on the main computer thru internet explorer of firefox. Is this possible? It seems like it should be but I can't find anything on it. Thanks Nick Quote Link to comment https://forums.phpfreaks.com/topic/179203-network-web-page/ Share on other sites More sharing options...
cags Posted October 27, 2009 Share Posted October 27, 2009 Providing they are all on the same network sure it's possible. If you type in http://192.168.1.1/ (substitute the IP of the PC with Apache installed on it) into the browser of one of the other PC's, it'll probably work without too much tinkering (if any). You could create v-hosts and edit the hosts file of the PC's if you wanted to do away with the IP's, but thats probably a good starting point. Quote Link to comment https://forums.phpfreaks.com/topic/179203-network-web-page/#findComment-945539 Share on other sites More sharing options...
ninedoors Posted October 27, 2009 Author Share Posted October 27, 2009 Ya I pinged my computer and got my network ip which was 10.9.147.23 and the entered http://10.9.147.23/xampp/ to see but I keep getting a 404 page. Is there something I would need to change in http.conf file or any other config file? How would I check if a firewall is blocking it? Thanks for the help. Nick Quote Link to comment https://forums.phpfreaks.com/topic/179203-network-web-page/#findComment-945598 Share on other sites More sharing options...
cags Posted October 27, 2009 Share Posted October 27, 2009 Do you still have the xampp folder inside your htdocs folder? And is the index.php file still inside, if so that *should* work. It works for me on my network. If it isn't working then yes, it is likely a setting in the httpd.conf, one of it's subfiles or possible a firewall. Off the top of my head the only relevant setting I can think of in the httpd.conf file would be "Listen" so it's worth checking if that is set (other than just the port). How you would check on firewall blockage would somewhat depend on what firewall you have setup on the systems. The fact you are recieving a 404 error, which is a document not found error, seems to indicate you have connected, otherwise I would have expected a different type of error. You could try changing the ErrorDocument 404 in your http.conf file to google or something and see if you get directed there, that would guarantee your connecting. Hopefully that all makes sense I have just got back from a Pool match, so had 1 or 6! Quote Link to comment https://forums.phpfreaks.com/topic/179203-network-web-page/#findComment-945826 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.