hello. this is the setup:
i have 2 computers at home. one of them has a registered domain name,
and is acting as a web server (runs under windows 2003 iis6). my
second machine has apache configured with php, perl, and mysql
installed. i wanted to make my 2nd machine accessible from the
internet, so i have created a virtual directory on my 1st machine,
pointing to my htdocs directory on the 2nd machine. when i try to
access a .html or .txt document (on my 2nd machine) through my 1st
machine everything works. but when im trying to access a .php file, i
get a 404 error. why does this happen? can anyone please help me?
Thanks!
p.s.
an example of urls are as follows:
1st machine -> http://www.machine1.com
2nd machine -> http://www.machine1.com/machine2
(machine2 being a virtual directory on the 1st one, pointing to htdocs
on the 2nd)