Jump to content
The Uniform Server Community
baba black sheep

how to access through lan

Recommended Posts

I have setup Uniform Server on my pc and running a PHp website successfully. using loclahost stuff

Can i access it thorugh my lan ?

i want to access this website on my local Pc thorugh another pc on my lan .

How to do it ?

Share this post


Link to post
Share on other sites

1) Open the file .htaccess located in folder www

Comment out the three lines so they look like this:

 

#Order Deny,Allow

#Deny from all

#Allow from 127.0.0.1

 

This opens your server up for external access.

 

2) Check you PC IP address as follows:

 

Start > run > type in cmd and click OK

In the window that pops up type in ipconfig /all

 

Look for your IP address it will look something like this: 192.168.1.6

 

Note the value:

 

3) On the remote machine type this value in for example http://192.168.1.6

That will display your server on the remote machine.

 

:lol:

Share this post


Link to post
Share on other sites

you also access it by password (trhough your htaccess file), not by locking to ips. search the net for htaccess+password - there is a lot out there (+tools).

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...

×
×
  • Create New...