Forum Moderators: phranque

Message Too Old, No Replies

Apache Forward to Private Server

Using .htaccess to secure access on altnerative port

         

mache

11:07 pm on Feb 26, 2005 (gmt 0)

10+ Year Member



I want to use the username and password features of .htaccess on Apache to authenticate user access to Windows Media Encoder. Both Apache and Windows Media Encoder reside on the same Windows XP machine. Apache would be accessed from the Internet via port 80 forwarding from a Linksys router. Windows Media Encoder would be accessed from inside Apache using some sort of internal forwarding mechanism to get to an [127.0.0.1:Z...] call where a) Z would be the Windows Media Encoder port, b) Z is not port 80, and c) port Z would not forwarded by the router from the Internet to the Windows XP machine.

In this way I could guarrantee that all Internet access to port Z, and Windows Media Encoder, would have to go through the Apache .htaccess username and password dialogue.

Any suggestions on how to set this up in Apache would be greatly appreciated.

-- Mache