473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

php service on windows 2003 IIS6

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
4 2128

"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
"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
"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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bill J. Vallance | last post by:
------=_NextPart_000_0057_01C35233.C0403930 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I have been using Snitz forums on windows 2000 IIS5 and MySQL...
3
by: michael [multnomah] | last post by:
We are trying to standardize on a solid, open, secure Web Server architecture. We are running Apache 2 on Windows 2003 Server. For static HTML, JSP and ColdFusion apps, this is running perfectly,...
6
by: Siegfried Heintze | last post by:
I have the following C# code in my web service: public static extern double add_(double X, double Y ); public double add (double X, double Y){ return add_(X, Y); }
0
by: orencs | last post by:
Hi I am using IIS6 on Windows Server 2003. I am trying to write to the trace log via Web Service but fails. System.Diagnostics.Trace.WriteLine("some message"); I am using DebugView to see the...
5
by: Asaf | last post by:
Hi, I have a Web Service installed on IIS6 (Windows 2003 SBS) with Directory security set only to "Integrated Windows authentication" to avoid from someone to use the Web Service. I have set...
10
by: musosdev | last post by:
Wonder if someone can help! We're getting the following error on our Intranet system as soon as we login.. ------------------ Exception Details: System.Data.SqlClient.SqlException: Login...
3
by: Brad | last post by:
I'm setting up my new pc with all my VS.net projects and I'm missing something.....something I've done many times before without problem. I have several asp.net apps accessing secure .net web...
1
by: =?Utf-8?B?U3Jp?= | last post by:
We have web services on windows 2003 server. I'm consuming one of the web service method. For that I've written VS2008 C# windows application. When I pass my input xml file to the web service...
2
by: Niclas | last post by:
Hi, I have developed a WCF service that I am planning to host with a service provider. After spending some time uploading the service and fiddling around with the .svc file and Web.config, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.