-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to completely understand how to use relative and absolute url address in static and dynamic files.
~ :
/ :
.. : in a relative URL indicates the parent directory
. : refers to the current directory
/ : always replaces the entire pathname of the base URL
// : always replaces everything…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to create a virtual directory and set it's permissions using IIS7 and C#. Here is a sample of my code:
using (ServerManager serverManager = new ServerManager(webSite))
{
ConfigurationSection anonymousAuthenticationSection =
config.GetSection(
@"system.webServer/security/authentication/anonymousAuthentication"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
To enable single sign-on for a web application and a web application in a virtual directory, I set the machinekey in both apps to the same:
<machineKey validationKey="xxx" decryptionKey="yy" validation="SHA1" />
The single sign on works just fine, but existing users can't sign in any more;…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi.
On our production servers (win 2003 with IIS6 and load balanced with an F5 BIGIP), we have a problem when introducing wildcardmapping on IIS6. We use .net Framework 3.5 SP1.
The issue manifests itself as by the server only sometimes serving the images stored on a virtual directory pointing to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to change the where a virtual directory's physical path is in C#.
This is what I have so far:
using (DirectoryEntry webSiteRoot = WmiUtility.GetWebSiteRootDirectory(webSite))
{
DirectoryEntry virtualDirectory =
WmiUtility.GetVirtualDirectoryByName(webSiteRoot…
>>> More