By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,855 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

php service on windows 2003 IIS6

P: n/a
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)
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

"Artem" <he*****@list.ru> wrote in message
news:1e**************************@posting.google.c om...
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)


Does your first machine's IIS user (e.g. IUSR_MACHINE1) have read access to
the shares on the second machine?

Garp
Jul 17 '05 #2

P: n/a
"Garp" <ga***@no7.blueyonder.co.uk> wrote in message news:<6W*******************@news-text.cableinet.net>...
"Artem" <he*****@list.ru> wrote in message
news:1e**************************@posting.google.c om...
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)


Does your first machine's IIS user (e.g. IUSR_MACHINE1) have read access to
the shares on the second machine?

Garp

Yep. it's weird, because I can view .html pages, but not .php. maybe
machine1 needs to have some kind of php service running on it?
Jul 17 '05 #3

P: n/a
"Garp" <ga***@no7.blueyonder.co.uk> wrote in message news:<6W*******************@news-text.cableinet.net>...
"Artem" <he*****@list.ru> wrote in message
news:1e**************************@posting.google.c om...
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)


Does your first machine's IIS user (e.g. IUSR_MACHINE1) have read access to
the shares on the second machine?

Garp

yes, all permissions are set correctly. it's weird, because i can view
..html pages, but not .php pages (and what's even more weird, is that i
get a 404 error error when i am trying to view .php pages). maybe i
need some kind of php service installed on machine1?
Jul 17 '05 #4

P: n/a

"Artem" <he*****@list.ru> wrote in message
news:1e**************************@posting.google.c om...
<snip>
yes, all permissions are set correctly. it's weird, because i can view
.html pages, but not .php pages (and what's even more weird, is that i
get a 404 error error when i am trying to view .php pages). maybe i
need some kind of php service installed on machine1?


Are you missing articles? I replied to something like this already.

Garp
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.