If the router/gateway prevents access to port 80
(or whatever port you are going to listen on) for the machine with the apache
server on it -- obviously you need to reconfigure your network so that the
server machine's "listen port" is accessible via its LAN IP address to all
clients.
If your clients cannot cross LAN sub-net
boundaries internally, then you can always have all users
access via the WAN.
For access via the WAN, the router needs to be able
to forward the incoming "listen port" to the apache sever. If you cannot do
this from some present location on your subnet, it will be easiest to
change network configuration so that PHP and Apache are accessible and can
have the "listen port" (and another required ports) forwarded from
the router/gateway which is associated with a WAN/internet IP
address.
|