We are using Umbraco 7.5+
The in the "urlrewriteing.config" it says that this is obsolete and to use "iis
rewrite" instead. This is a module that you should install on the server. We are running azure, so we cant install it.
According to this (non-umbraco-advice) the only thing you have to do is to add a -element in the root web.config-file (see link). Is the iis rewrite module already installed on Azure sites?
If so, do I have to make any modifications to my web config (to disable Umbracos old url-rewrites)?
Yes, IIS URL Rewrite module is installed in Azure App Services by default. It will work if you will just add your rules in web.config. Do not need to install anything
If you want to disable urlrewriteing.config then just make it empty.
Example:
<?xml version="1.0" encoding="utf-8"?>
<urlrewritingnet xmlns="http://www.urlrewriting.net/schemas/config/2006/07">
<rewrites>
</rewrites>
</urlrewritingnet>
Related
I'm currently building a web server on Centos7 and I'm using Virtualmin and Nginx instead of Apache.I have established the connections and I'm now going to install some modules and later install Wordpress. But how can I set the site to 'offline mode' or make it only accessible internally so that google and others can't reach the site?
Try to generate .htpasswd file
For a demo site on Elastic Beanstalk, I'd like to enable basic authentication in IIS (not in the app, but instead have IIS handle it). I can't find how to configure IIS to do this - you don't seem to have much access to IIS configuration itself. Any tips on that appreciated, or if I'm missing the boat here.
thanks!
You need to use ebextensions to customize the server.
Create a yaml init.config file inside a folder called .ebextensions in your web application root. Set the contents as follows:
container_commands:
00-iis-features:
command: dism /online /enable-feature /featurename:IIS-BasicAuthentication
Read more about ebextensions here
Also, see my answer here https://stackoverflow.com/a/42336644/1165140 on how to modify root IIS config.
Hope this sorts you out.
I'm trying to install Bonobo 5.0.0 on Windows 7 + IIS 7.5 with Windows authentication.
When I go to the homepage (http://domain/bonobo), I'm prompted for my Windows username/password and after that it redirects back to the root to look for a route called windowsAuthCallback:
http://domain/windowsAuthCallback?id=xxx
Obviously this gives me a 404 error.
I have authentication set to 'anonymous' in IIS and 'Windows' in the Bonobo web.config and I'm not sure what I'm doing wrong.
UPDATE
Not sure if this is related... I have an existing Bonobo installation on the same server and I'm installing Bonobo 5 fresh as a new application. After running into the issue I described, trying to open the original Bonobo app gives me the following error:
Unable to find an entry point named 'sqlite3_open_interop' in DLL 'SQLite.Interop.dll'.
Restarting IIS resolves the issue and I can access my old Bonobo app again.
This commit should resolve the windowsAuthCallback redirecting to root: https://github.com/jakubgarfield/Bonobo-Git-Server/commit/852563e2e1f969abca008b8be798c265a52f4d81
A workaround for this issue along with a link to the commit that resolves it can be found on the following page:
https://github.com/jakubgarfield/Bonobo-Git-Server/issues/333
I have a simple ServiceStack application that I was able to host as a console app and I'm now wanting to package/deploy it for IIS.
I've created an ASP.Net application project and can successfully run the service on my local machine. When I tried to deploy it to an IIS server (v7.5) in a subfolder under root, I get a 404.
Per the examples and documentation on the ServiceStack site, I set location path web.config setting like this
<location path="api">
...
</location>
I tried these paths
/api
/subfolder_name/api
but none work.
Is it not possible to have it in a subfolder and have it the path of api?
I have it in a subfolder under the root and have the path config'd like this: . Yet it doesn't work. So does that mean that all of my files have to be under the root and then I have to alter the global.asax to include my apphost init code? Seems a little messy to me.
Not sure of your exact setup but specifying the path in AppHost.Configure() may also help:
SetConfig(new EndpointHostConfig
{
ServiceStackHandlerFactoryPath = "api",
});
Note: I did not setup a virtual directory its a Application!
Here is the structure
Hard drive folders:
-IISRoot
-Webpage
Test.aspx
web.config
-WebService
-Bin
Service.svc
web.config
IIS is setup the following way:
-WebSite (Mapping against ISSRoot\Webpage)
-Service ((Application) mapping against IISRoot\WebService)
Now when i try to run the Service.svc i get a error that a httpHandler was not found ("Could not load type 'Jympa.Nu.FileRequestHandler'")...
Now if i look in the web.config in the root there is a line adding this but the web.config in the webservice is not..
So why is IIS using the wrong web.config?
Edit:
If i remove the web.config in the
Webpage folder the service works but
the webpage stops to work..
I found a solution i changed the pipeline mode on the application pool to Integrated.