Date:  01/04/2015 10:58:42 PM Msg ID:  004765
From:  Joe Goldsmiith Thread:  004763
Subject:  Re: No program root defined for domain
Thanks for the response.
 
This is interesting. A search for server's IP address throughout in an FWX script turned up nothing. A search for a redirect turned up nothing as well. Since the user was logged in already in most cases I cannot believe the user would edit the browser URL since there would be no need. It's just odd that this error would happen just after installing the SSL and only to two users.
 
It's also odd the reference IP address is in CA. I have no reason to believe Comcast or Verizon would need need to pass through May East in VA to get to CA and back.
 
If yo should think of something else please let me know.
 
Joe
 
Sent by FoxWeb Support on 01/04/2015 10:43:05 PM:
The error you are getting indicates that the browser is trying to access the server as 108.56.226.245, instead of x-laser.net. If you did not manually type this in the location, then something is redirecting you to the server's IP address -- either an HTTP redirect or a hyperlink.
FoxWeb Support Team
support@foxweb.com email
Sent by Joe Goldsmiith on 01/04/2015 02:59:16 PM:
 Lately, since I added SSL for (x-laser.net) one of 3 domains I started getting an error message for 2 of many uses in the Error log. The error message is "No program root has been configured for domain "108.56.226.245" in the FoxWeb Foundation Program, line 87.
 
When a user logs in to the application I use setvar to gather specific information and then getvar on each other script page to authenticate the user. The strange thing is that out of 7 entries with this error, 2 entries do not show the getvar results in Session Variables. For those 5 errors I can see which staff member was involved. Thus, it seems that this error is happening in the log in script and following a successful log in.
 
Under the Virtual Servers tab I have Server name as www.x-laser.net (along with three domains), the IP address is empty, and the path to the application folder under Program Root in the form C:\inetpub\XXX. "XXX" is the name of the folder housing the application. Once a user successfully log in the user is directed to a sub-folder where all the scripts are located.
 
This has worked well for years and started getting the program root error since installing SSL for X-Laser.net but is not found in other domains.
 
Another strange thing is found under tab Error Log \ Server Variables. REMOTE_ADDR and REMOTE_HOST comes from an IP address seemingly unknown to one of our users. Here is the data from the error log where XXX hides some private information but is correct as noted in the log:
 
Program Path = C:\INETPUB\X-LASER\XXX\
Current Channel = 2
APPL_MD_PATH=/LM/W3SVC/1108364409/Root
APPL_PHYSICAL_PATH=C:\Inetpub\XXX\
CERT_KEYSIZE=128
CERT_SECRETKEYSIZE=2048
CERT_SERVER_ISSUER=C=US, S=Arizona, L=Scottsdale, O="Starfield Technologies, Inc.", OU=http://certs.starfieldtech.com/repository/, CN=Starfield Secure Certificate Authority - G2
CERT_SERVER_SUBJECT=OU=Domain Control Validated, CN=www.x-laser.net
CONTENT_LENGTH=0
GATEWAY_INTERFACE=CGI/1.1
HTTPS=on
HTTPS_KEYSIZE=128
HTTPS_SECRETKEYSIZE=2048
HTTPS_SERVER_ISSUER=C=US, S=Arizona, L=Scottsdale, O="Starfield Technologies, Inc.", OU=http://certs.starfieldtech.com/repository/, CN=Starfield Secure Certificate Authority - G2
HTTPS_SERVER_SUBJECT=OU=Domain Control Validated, CN=www.x-laser.net
INSTANCE_ID=1108364409
INSTANCE_META_PATH=/LM/W3SVC/1108364409
PATH_INFO=/x-laser.fwx
PATH_TRANSLATED=C:\Inetpub\x-laser\x-laser.fwx
REMOTE_ADDR=199.217.115.199
REMOTE_HOST=199.217.115.199
REQUEST_METHOD=GET
SCRIPT_NAME=/x-laser.fwx
SERVER_NAME=108.56.226.245
SERVER_PORT=443
SERVER_PORT_SECURE=1
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/6.0
URL=/x-laser.fwx
HTTP_ACCEPT=text/html, */*
HTTP_ACCEPT_ENCODING=deflate, gzip, identity
HTTP_HOST=108.56.226.245:443
HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

When I whois the bold IP address I found:
 
 01/04/2014        9:46:52
216.218.206.66
OrgName:        Hurricane Electric, Inc. International Internet backbone
OrgId:          HURC
Address:        760 Mission Court
City:           Fremont
StateProv:      CA
PostalCode:     94539
Country:        US
NetRange:       216.218.128.0 - 216.218.255.255
CIDR:           216.218.128.0/17
 
All of our users are in Maryland using local major ISPs so I would not think there may be routes out to CA and back
 
Any ideas or questions as to why this error is generated especially after installing the SSL certificate?
 
Joe