Hi,
I have a couple of questions with regards to implementing URL Rewriting in Visual Studio 2008
I am currently using Intelligencia.UrlRewriter to implement URL rewriting in CS 2008. However the rewrite rules are a little different as compared to the IIS7 rewrite rules.Is there a way we can use the same rules while debugging in VS200...
I need to run a django app on windows under either IIS6 or IIS7 (yes, I don't know the exact requirements right now).
What I did:
I've tried to set up a working environment on my windows 7 (so its IIS7 for now) machine. I've followed the instructions at django trac using PyISAPIe.
What came out of it:
Apparently, either I am doing some...
Hi everybody.
Is there any 'nice' way to read configuration section group of IIS7 by using WebConfigurationManager o anything?
I tried to read the authorization section but WebConfigurationManager.GetSection() returns an 'IgnoredSection' instance.
This is what my code looks like...
authSection = WebConfigurationManager.GetSection("sy...
Hi!
I'm trying to use the Microsoft.Web.Administration API to access the 'system.webServer/security/authorization' section (at the current request path) to see if anonymous users ("*") can access.
To do that i'm trying to access the section configuration by:
WebConfigurationManager.GetSection(HttpContext.Current, "system.webServer/sec...
Hello all, I am getting a 401 unauthorized error when I try to read an XML file from a flash SWF file in IIS7. The file is located right next to the SWF file in the file system.
When I browse to the XML file through the browser, I get the following:
HTTP Error 401.3 - Unauthorized You do
not have permission to view this
director...
If I host an ASP.NET page with:
<%@ Page Language="C#" %>
<!DOCTYPE html>
<script runat="server">
protected void btn_Click(object sender, EventArgs e)
{
lbl.Text = HttpContext.Current.Session["a"] == null ?
"null" :
HttpContext.Current.Session["a"].ToString();
}
prot...
There is this one action that is requested using javascript during the loading of a page, it takes over 25 seconds to resolve. Looking at the code makes me think there is a scaling issue, but I am wondering if there is any way I can step through the code during the request so I can see what is happening. I try clicking 'debug/start debug...
Hi,
We have been ruuning an ASP application in local intranet using IIS7 and now have requirement to get Client computer name and logged user name, so that we can show his home page according to his setting.I did search on internet but did not find any solution yet.I also tried using LOGON_USER server variables but it works fine when I r...
I have the following appcmd to add an exception to IIS7's ISAPI and CGI restrictions. The exception I am adding should look like:
c:\perl\bin\perl.exe "%s" %s
Here is the command line:
appcmd set config -section:isapiCgiRestriction "-+[path='c:\perl\bin\perl.exe \"%s\" %s', allowed='true', description='Perl CGI']"
If execute this fr...
Hello,
How to set name to web site in IIS for browsing in LAN?
I've tried to change in hosts
192.168.198.83 mySite
but it doesn't work (required page is not opened)
I can remember IP addresses but other peoples do not want, so will be good to set friendly names.
Operating System Windows 7, IIS 7.
...
I have an url like this :
mydomain/page?param1=1
and I want rewrite this to :
mydomain/page2?param1=1
<rule name="MyRule" stopProcessing="true">
<match url="page?(.*)" />
<action type="Redirect" url="page2?{R:1}" />
</rule>
or
<rule name="MyRule" stopProcessing="true">
<match url="page\?(.*)" />
<action ty...
I'm stumped. I have a client site on a virtual private server - Windows Web Server 2008 SP2, IIS7, SQL Server 2008 Express.
I'm trying to setup a second web application, to allow him to review updates prior to their going live. I've created the web application in IIS7, and I have added a second database to SQL Server. The second db i...
I don't know if question in the title was clear enough.
Let's say that you have 2 or N domains pointing on the same ip address, your server (in my case Windows Server with IIS) and you want to make custom site for every domain name so you have to detect which domain is user currently using.
There should be two "custom sites". One is Ad...
I am attempting to set up Url Rewriting in IIS7 using its Url Rewrite module, but have been unable to find any documentation on how this interacts with the authentication module (excepting that http://msdn.microsoft.com/en-us/library/ms972974.aspx tells me I can't use digest authentication).
When setting authentication (for example, win...
I'm having troubles connecting to a wcf service hosted in IIS7. The service uses a tcp binding. The problem is as follows: if I have the folder with the service files in my inetpub\wwwroot and I convert it in IIS to an application everything works fine. However, when I place the folder in a subdirectory somewhere under my wwwroot then I...
http://stackoverflow.com/questions/1178831/remove-server-response-header-iis7
I know how to remove the Server response header with an HTTP Module based on the link above.
I just want to know why it is necessary to remove it this way.
...
I'm dealing with a problem trying to use Windows authentication with IIS 7 in Windows Server 2008. Also i'm using WCF.
I have a client application and the server application. The server application manage the user accounts using Active Directory. Everything starts when the client sends its user and password to the server application, wh...
In iis 6 i could do something like this ;.aspx;http://www.blah.com/index.html to redirect all aspx pages to a html page. Is there a way to do this in IIS7
...
Hi,
my situation is:
windows7
visual studio 2010 (with mvc2)
mvc2 web application compiled with .NET 3.5
I install IIS7 with StaticModule but when I try to load a css or an image I receive a blank page. Only html is loaded.
Help me please.
Thanks
...
I'm developing an ASP.net application on my local IIS, where it works fine. I've set up a Windows 2008 Web Server R2 as a virtual machine in my network, installed the .net framework, all IIS features (server version do match) etc. My apps run fine except for this issue:
I have several Settings that are created by the Settings Property o...