I want my htdocs folder on my xampp to be accessible by other PCs. I searched for an answer and it says that you should just edit your htaccess file.
I am unsure of where my htaccess file is but I found one on htdocs\forbidden folder.
So my htaccess file looks like this:
AuthType Basic
AuthName "FORBIDDEN AREA"
AuthUserfile "../htdocs/forbidden/.htpasswd"
Require valid-user
order deny,allow
deny from all
allow from 192.168.254.254
allow from 192.168.254.101
The two IPs are the 2 pcs i want to connect.
What should the two PCs enter in their browser to access my website?
They should enter your IP address (in local network, smth like 192.168.254.1)