Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/179203-network-web-page/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/179203-network-web-page/#findComment-945539
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/179203-network-web-page/#findComment-945598
Share on other sites

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! :)

Link to comment
https://forums.phpfreaks.com/topic/179203-network-web-page/#findComment-945826
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.