Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

403 - Forbidden: Access is denied.

New Here ,
Nov 09, 2023 Nov 09, 2023
I am getting a "403 - Forbidden: Access is denied." error.
 
We have multiple websites are setup on 2 IIS servers.
The 2 IIS servers have same apps on both servers.
The IIS servers are behind VIP.

 

I am getting the above error on only one of the site on only 2nd IIS server.

Also, the error is only for accessing .cfm page and hot htm pages at same location
 
If I turn off the 2nd IIS server and have only 1st IIS server behing the VIP. Then everything works.
 

for e.g.

we have

VIP 1 - Site 1 - port 81

VIP 2 - Site 2 - port 82

VIP 3 - Site 3 - port 83

https://vip1/webapps/Test.cfm - works

https://vip1/webapps/Test.htm - works

https://vip2/webapps/Test.cfm - does not work

https://vip2/webapps/Test.htm - works

https://vip3/webapps/Test.cfm - works

https://vip3/webapps/Test.htm - works

 

Ruling out Netscalar issues,

1. other sites on 2nd iis server works

2. on the problem site, htm pages works

3. the VIP settings look identical

Is that correct, or we need to look at something specific on netscalar

 

Is there any setting on the CF admin server wea are missing. Or is there a way to compare CF admin setting for the problem site, across 1st IIS server and 2nd IIS sever, that would show us the difference and highlight the issue

634
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2023 Nov 09, 2023

On the server not working, in iis for the site not working, is there a jakarta virtual directory, like in all the working sites? If not, if all the working sites' Jakarta virtual directories point to the same folder (which should be one within the cf config/wsconfig folder), add that virtual directory to the site, and try again. No need of any restart of iis or the site or of cf.

 

If that's not it, there are more thinga to consider, but let's start with this simple one. 

 

(This problem can happen when one configures the cf web server connector for "all sites" - - but it can only add the jakarta virtual directory to those there at that time m if you add a new site after that, YOU have to add that virtual directory. It's not a cf bug, just a reality due to how both iis and tomcat work.) 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 09, 2023 Nov 09, 2023

All working site essentially point to the same folder d:/iserver/domain

All working sites have the jakarta virtual directory configured.. Its in config\wsconfig\3 (each site has its own)

Screenshot 2023-11-09 at 12.48.24 PM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2023 Nov 09, 2023

I'd asked you about the failing site. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 10, 2023 Nov 10, 2023

I am sorry I am not understanding the comment..
What info about the failing site can I provide.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 10, 2023 Nov 10, 2023

I had said, "On the server not working, in iis for the site not working, is there a jakarta virtual directory, like in all the working sites?"

 

Then I offered subsequent info based on your yes or no. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 11, 2023 Nov 11, 2023

Thanks for the clarification.

Yes, for the site not working, there is a jakarta virtual directory, like in the other working sites

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 11, 2023 Nov 11, 2023
LATEST

And are you saying it points to that same dll that the others do? If so, does that site have a "tomcat" isapi filter, and is it pointing to the same folder? And does it have a cfm handler mapping, pointing to the same folder?

 

If all this is so, let's focus on the 403. There can be many causes. Tell us first what iis app pool is used by a working site and this not working site, and then for each what is their app pool identity? And then if the Tomcat isapi filters for each (the working and non working site) don't point to the same folder, how do the permissions for each folder differ (if at all)? 

 

If instead you may want to "just solve this" without all the back and forth, I can offer direct remote assistance (even this weekend) to likely resolve this in less than 15 mins. If we don't solve it, you'd need not pay me. See carehart.org/consulting.

 

If you prefer to slog things out here, let us know what you find on what I've shared here. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources