It is currently Thu Feb 20, 2020 9:50 pm

All times are UTC - 7 hours [ DST ]

Recent News:



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Thu Nov 18, 2010 12:55 pm 
Offline
.5TB storage
.5TB storage
User avatar

Joined: Sun Oct 11, 2009 9:05 pm
Posts: 18
Location: Chapin, SC, USA
Thanks: 4
Thanked: 0 time in 0 post
This may not the the right place to ask this question, here goes anyway!

I'm trying to learn PHP and MySQL using the my EX495 WHS using my local network. With the test folder/files in the WebSite folder of the WHS.
I have an index.html which I use an link-menu to to go to the examples from the book. I run an example with a file name: example17-3.php, it run ok. I then take a break :beerme: and when I come back and to the example I get the mesage "You are not authorized to view this page ......".

I go to the WHS and using Adv Admin add-in look at the security properties (like I thought I knew what I'm doing) and don't see any problem. I continue playing around trying to get it to run, and run other examples in the same folder without problem.

I made a copy of the "example17-3.php" and name it "example.php" and link to it and got the correct result. Again using Adv Admin add-in looked and compared the properties. They look the same.

How do I correct this problem? What am I doing to create this problem?

Jim Smith


Top
 Profile  
Thanks  

Attention Guest: Remove this ad by Registering with the MediaSmartServer.net Forums. It's Free!
PostPosted: Fri Nov 19, 2010 1:27 pm 
Offline
Founder
Founder
User avatar

Joined: Tue Jul 31, 2007 11:54 am
Posts: 10704
Location: Fort Collins, Colorado
Thanks: 622
Thanked: 920 times in 875 posts
I'd check the IIS logs to see what error message it's giving for the refused connection.

_________________
Alex Kuretz
Remote Notification: Monitoring and alerting for your Home Server via email, Twitter, text message, RSS, push notifications, and on your Mac desktop
Have you tried our Add-Ins?


Top
 Profile  
Thanks  
PostPosted: Fri Nov 19, 2010 1:46 pm 
Offline
.5TB storage
.5TB storage
User avatar

Joined: Sun Oct 11, 2009 9:05 pm
Posts: 18
Location: Chapin, SC, USA
Thanks: 4
Thanked: 0 time in 0 post
Where can I find the iis log?
Jim


Top
 Profile  
Thanks  
PostPosted: Fri Nov 19, 2010 2:17 pm 
Offline
Founder
Founder
User avatar

Joined: Tue Jul 31, 2007 11:54 am
Posts: 10704
Location: Fort Collins, Colorado
Thanks: 622
Thanked: 920 times in 875 posts
C:\WINDOWS\system32\Logfiles\W3SVC1

_________________
Alex Kuretz
Remote Notification: Monitoring and alerting for your Home Server via email, Twitter, text message, RSS, push notifications, and on your Mac desktop
Have you tried our Add-Ins?


Top
 Profile  
Thanks  
PostPosted: Fri Nov 19, 2010 6:24 pm 
Offline
.5TB storage
.5TB storage
User avatar

Joined: Sun Oct 11, 2009 9:05 pm
Posts: 18
Location: Chapin, SC, USA
Thanks: 4
Thanked: 0 time in 0 post
I could not find the original entries in the log so I created some new one. I do not see anything except for the 401 error code for the bad file and zero for the good one, the only difference is the file name.

I will try to print is out here, it worked.

Thanks anyway, Jim Smith

#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2010-11-19 00:00:00
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status

2010-11-18 23:59:59 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:02 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:02 W3SVC1 192.168.1.109 GET /phpTest/example17-3.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 401 5 5

2010-11-19 23:15:11 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:11 W3SVC1 192.168.1.109 GET /phpTest/example.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 200 0 0

2010-11-19 23:15:11 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:17 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:17 W3SVC1 192.168.1.109 GET /phpTest/example.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 200 0 0

2010-11-19 23:15:17 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:24 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:24 W3SVC1 192.168.1.109 GET /phpTest/example.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 200 0 0

2010-11-19 23:15:24 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:28 W3SVC1 192.168.1.109 GET /phpTest/example17-3.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 401 5 5

2010-11-19 23:15:33 W3SVC1 192.168.1.109 GET /PushClient/JIMHPTAB/connection - 80 - 192.168.1.107 - 200 0 0

2010-11-19 23:15:33 W3SVC1 192.168.1.109 GET /phpTest/example17-3.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 401 5 5

2010-11-19 23:15:43 W3SVC1 192.168.1.109 GET /phpTest/example.php - 80 - 192.168.1.100 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10.6;+en-US;+rv:1.9.2.12)+Gecko/20101026+Firefox/3.6.12+GTB7.1 200 0 0


Top
 Profile  
Thanks  
PostPosted: Sat Nov 20, 2010 12:26 pm 
Offline
Founder
Founder
User avatar

Joined: Tue Jul 31, 2007 11:54 am
Posts: 10704
Location: Fort Collins, Colorado
Thanks: 622
Thanked: 920 times in 875 posts
example.php is giving 200 response codes (which is good), and example17-3.php is giving a 401 response code. If the content of the files is identical, I don't know what's going on, sorry.

_________________
Alex Kuretz
Remote Notification: Monitoring and alerting for your Home Server via email, Twitter, text message, RSS, push notifications, and on your Mac desktop
Have you tried our Add-Ins?


Top
 Profile  
Thanks  
The following user would like to thank yakuza for this post
jas1931
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group