Issue in accesing a website hosting on weblogic server through IIS - iis

We are facing issue while configuring IIS setup for weblogic servers.
Following are the environment details:
IIS8.5 on windows 2012 R2 standard 64x, wls_plugin_12.2.1.2.0 for weblogic server.
We have done the following steps:
Created a new web site on IIS.
Enabling the authentication settings.
Enabling the Directory browsing.
Added the script mapping in Handler mapping and set the path of iisproxy.dll as executor.
ISAPI filter setting for the iisproxy.dll
We are able to view the directory structure while accessing the IP and Port, but the request is not redirecting to the weblogic ip and port what we have configured in iisproxy.ini.
Is there any web.config or handler settings required to process the request?

The issue is that we are using wls-Plugin12.2.1.2.0 whose iisproxy.dll is not working in IIS8.5 on windows 2012 R2 server. After using the lower version of the plugin, able to access the web logic instance through proxy the IIS.
After that we are able to view the login page of web logic instance but not able to login to the application as it through s "404 Not found error". For this we have to change the handler mapping settings --> Request restrictions --> Mapping --> uncheck the invoke handle, restart the iis application and try browsing again. You will be able to login to web logic applications.

Related

Browse service as https in IIS

I have a WCF service hosted in IIS.
When I select the application where this service resides I can browse it both as http and https (in Feature View):
But when I select specific service in Content View
the only option available is Browse:
This Browse defaults to http.
Is there any way to set it up to use https? It's annoying to change it manually in browser each time.
IIS version is 8.0.
OS is Windows Server 2012 R2 Standard.
Now I've found the answer.
It is Bindings that rules the behavior of this Browse button.
My solution was to edit site bindings so that https lies at the top:
The same can also be edited in applicationHost file.

WebApi site with Windows Authentication and workgroups?

I have a WebApi2 site running in IIS 8.5 with Windows Authentification enabled. the site is working fine.
However, I would like to set up the site within a Workgroups environment instead of Active Directoy.
What are the changes necessary in IIS and/or web.config so that Windows Authentification can still be used?

Add security to IIS Web Server

I'm developing some web site that run on IIS 7 and can connect to SQL server via php. The problem is I think its not safe because everyone that know my public IP address can freely access my site (the site is not for public, but I need it to be accessible to some people). How can I add security to this website of mine?
I have search for some type of security like authentication in IIS, but I don't know what should be used. Can I just add id and password like when we try to open page for configure router (192.168.0.1) .
You can easily disable anonymous authentication and enable basic authentication in IIS 7 using IIS manager.
Here is a Technet link and an SO post with details:
Is it a standalone server or do you run the IIS server on a desktop?
If your the only one who should access your site you could also use Intergrated windows authentication (IWA). IWA is a feature of the IIS Server, so if you wan't to use is you should enable it first.

IIS doesn't care about IIS Manager User

I'm running IIS 7.0 on a Windows 2008 R1 Server and want to setup IIS Manager Users. Due to some fact, every last try to access the site is rejected (HTTP Unauthorized).
The following additional IIS components are installed:
Security\Basic Authentification
Security\URL Authorisation
Management Tools\IIS Management Console
Management Tools\Management Service
Then I configured the Management Service to use Windows or IIS-Manager-User Credentials.
I also added some IIS-Manager-Users and activated them on my Website.
On the Authentification Settings Pane, I disabled anonymous access and enabled basic authentification.
As a result, when browsing the website, a password is now required. The thing is, I can access the page with Windows Credentials, but not with the IIS Manager User Credentials. In this case the result is always HTTP 401 - Unauthorized.
What am I missing?
IIS Manager Users are meant for administration of IIS (aka management of the sites/apps) and not for access the server at runtime (normal browsing of content).
Having said that, you can make that work if your scenario is to use the same users for potentially administration (like using WMSVC) and runtime and I wrote a blog about it on 2008 on how to set it up:
http://blogs.msdn.com/b/carlosag/archive/2008/09/26/using-iis-manager-users-in-your-application.aspx

Running ASP.NET MVC 4 app on IIS 7.5 Locally

I have an MVC 4 application that I can run using IIS 7.5. In the application properties there is an option to create virtual directory I click that button and nothing happens. When I open IIS Manager I do not see my application under Default WebSite.
UPDATE: I think I am able to setup the virtual directory. But now when I browse the web site it says "A default document is not configured for the requested URL and directory browsing is not enabled on the server".
You should change the path to your default website in IIS to see if it goes to the right place where your solution is.

Resources