Quantcast
Channel: All Forums
Viewing all 27852 articles
Browse latest View live

Multiple domains with one hosting and URL rewrite/routing

0
0
Hi

I'm trying to have multiple domains with one hosting provider (azure) so www.example1.com goes to the example1 sub folder and www.example2.com goes to the example2 sub folder.

I also want all the URLs to look good and be routed through the index.php file in the appropriate sub folder.

For example:
Www.example.com/services is routed to the index.php file in the example2 folder.

Thank you for any help

Content view Failed

0
0

Lords (the) Can anyone help me? I Installed IIS8 in a webfarm environment in which some changes. And when did a mere "iisreset" in one of the servers, the tab "sites" does not expand the web sites. Do i need to reinstall IIS? 

Say if someone knows There Any configuration file this paragraph Problem? No error reports not only a series of tabs sites not expand local. The sites appear only the right.

IIS 8.5 Exchange Web Services authentication failing with 401 0 0 346 0

0
0

We have a 3rd party application (Backup Exec) that is attempting to authenticate to EWS to restore mail messages.  When this authentication attempt occurs, we receive:

2015-08-07 17:24:27 192.168.1.12 POST /autodiscover/autodiscover.svc &CorrelationID=<empty>;&ClientId=0AMDHUEOTQGHHW9AXUG&cafeReqId=4e0a2e70-f4f1-4a81-8164-50be9ad8c6a9; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 676 46
2015-08-07 17:24:28 192.168.1.12 POST /Autodiscover/Autodiscover.xml &CorrelationID=<empty>;&ClientId=UAPYDCATUUMXQKYEKW&cafeReqId=c2f9eb68-96f5-4736-a047-e6afc0e7fa69; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 586 15
2015-08-07 17:24:29 192.168.1.12 POST /EWS/Exchange.asmx &CorrelationID=<empty>;&ClientId=OZPXTJLLGEAQTOVRXPA&cafeReqId=5c22c9a5-3e44-4896-9580-e5bbae73d65d; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 442 31
2015-08-07 17:24:29 192.168.1.12 POST /ews/exchange.asmx &CorrelationID=<empty>;&ClientId=OZPXTJLLGEAQTOVRXPA&cafeReqId=15d45309-c344-4de3-aa14-3ba762e38255; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 346 0
2015-08-07 17:24:30 192.168.1.12 POST /autodiscover/autodiscover.svc &CorrelationID=<empty>;&ClientId=FGRVVMTEASUKWKL9YG&cafeReqId=952780a4-f71d-466e-8290-43f1367ab686; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 676 15
2015-08-07 17:24:30 192.168.1.12 POST /Autodiscover/Autodiscover.xml &CorrelationID=<empty>;&ClientId=KBNYSHVKIDFSBFSSNQ&cafeReqId=22e4f164-0c8b-4ab0-9766-8783343158d4; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 586 15
2015-08-07 17:24:30 192.168.1.12 POST /EWS/Exchange.asmx &CorrelationID=<empty>;&ClientId=ADEIDLJUGBWXQLVIPW&cafeReqId=f5d1da87-8cdd-4e73-8ba8-ef3ed0ec1d70; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 442 0
2015-08-07 17:24:30 192.168.1.12 POST /ews/exchange.asmx &CorrelationID=<empty>;&ClientId=ADEIDLJUGBWXQLVIPW&cafeReqId=f2ab22d5-50d7-4836-b60a-4340ff5b7dc6; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 346 0
2015-08-07 17:24:31 192.168.1.12 POST /autodiscover/autodiscover.svc &CorrelationID=<empty>;&ClientId=XUDXVRUEEQABVWJJXYQ&cafeReqId=8eb92621-f026-403e-b3d5-a05dce3b3e8f; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 676 0
2015-08-07 17:24:31 192.168.1.12 POST /Autodiscover/Autodiscover.xml &CorrelationID=<empty>;&ClientId=ZYPOPMPUWD9CKPZHCZPG&cafeReqId=982d86b6-a034-48b6-9b28-cfbbbd34ff7a; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 586 0
2015-08-07 17:24:32 192.168.1.12 POST /EWS/Exchange.asmx &CorrelationID=<empty>;&ClientId=YGUBKB0GFQD09CA&cafeReqId=2588d160-f50e-49fe-aa89-59e5301c29e9; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 442 15
2015-08-07 17:24:32 192.168.1.12 POST /ews/exchange.asmx &CorrelationID=<empty>;&ClientId=YGUBKB0GFQD09CA&cafeReqId=45cfc065-b166-428c-9dd8-f394c7884ba1; 443 - 192.168.1.12 ExchangeServicesClient/15.00.0516.014 - 401 0 0 346 0

I know from past experience that a 401 1 0 0 0 error would be an issue with user authentication, usually related to Kerberos or NTLM credentials or configuration.   Per the failed request tracing, it just looks like it checks for anonymous authentication, then stops.  

35. -GENERAL_SET_RESPONSE_HEADER

HeaderName

Set-Cookie

HeaderValue

ClientId=OZPXTJLLGEAQTOVRXPA; expires=Sat, 06-Aug-2016 17:24:29 GMT; path=/; HttpOnly

Replace

false



119. -GENERAL_FLUSH_RESPONSE_START

0 ms

Informational

120. -GENERAL_RESPONSE_HEADERS

Headers

Server: Microsoft-IIS/8.5 request-id: 5c22c9a5-3e44-4896-9580-e5bbae73d65d Set-Cookie: ClientId=OZPXTJLLGEAQTOVRXPA; expires=Sat, 06-Aug-2016 17:24:29 GMT; path=/; HttpOnly WWW-Authenticate: Negotiate WWW-Authenticate: NTLM X-Powered-By: ASP.NET X-FEServer: SPEXCH01

0 ms

Informational

121. -GENERAL_FLUSH_RESPONSE_END

BytesSent

375

ErrorCode

The operation completed successfully. (0x0)


77. -MODULE_SET_RESPONSE_ERROR_STATUS

ModuleName

AnonymousRequestFilterModule

Notification

AUTHENTICATE_REQUEST

HttpStatus

401

HttpReason

Anonymous Request Disallowed

HttpSubStatus

0

ErrorCode

The operation completed successfully. (0x0


For the second 401 response, we see:

Warning

75. -MODULE_SET_RESPONSE_ERROR_STATUS

ModuleName

AnonymousRequestFilterModule

Notification

AUTHENTICATE_REQUEST

HttpStatus

401

HttpReason

Anonymous Request Disallowed

HttpSubStatus

0

ErrorCode

The operation completed successfully. (0x0)

ConfigExceptionInfo

  What's strange is that at no point, after anonymous authentication fails, does it attempt any type of windows authentication, it just fails immediately.

The provider order configured in Windows Authentication is NTLM, then Negotitate.  The customer has their Outlook Anyware clients forced to use NTLM, as seen in their ECP configuration, and these clients do authenticate to IIS correctly.  I'm not quite understanding why authentication attempt would stop completely on the disabled anonymous authentication and never attempt other methods.  Any thoughts on how to further diagnose this would be appreciated.

Replace patterns in URLs

0
0

We have a need on one of our Web properties to move content from one location to another. The result will be a different portion of a URL for all content in the folder. Basically, what I want to do is redirect:

http://www.mydomain.com/folderA/folderB/folderC/f/1234.aspx

to

http://www.mydomain.com/folderA/folderD/folderE/f/1234.aspx

IOW, "replace" /folderB/folderC/ in that URL with /folderD/folderE/. There will be other patterns like that, too. For example, redirect:

http://www.mydomain.com/folderA/folder1/f/abcd

to

http://www.mydomain.com/folderA/folder2/folder3/f/abcd

I am aware of IIS' redirect module and would like to use that for the purpose of minimizing "broken links" on our Web site. I have done some research on the topic but have not gotten the "recipe" for the regular expression to use for this. What I have tried is

<rules><rule name="communities-test" stopProcessing="true"><match url="^/folderA/folderB/folderC/(.*)"/><action type="Redirect" url="/folderA/folderD/folderE/{R:0}" appendQueryString="true" redirectType="Found" /></rule></rules>

but what that did was append the "new folders" to the existing one, resulting in

http://www.mydomain.com/folderA/folderB/folderC/f/1234.aspx

becoming

http://www.mydomain.com/folderA/folderB/folderC/folderA/folderD/folderE/f/1234.aspx

which is not what I am going for. I also tried

<rule name="communities-test" patternSyntax="ECMAScript"><match url="/folderA/folderB/folderC/" /><conditions><add input="{HTTP_HOST}" pattern="www.mydomain.com" /><add input="{QUERY_STRING}" pattern="(.*)/folderA/folderB/folderC/(.*)" /></conditions><action type="Rewrite" url="{R:0}?{C:1}/folderA/folderD/folderE/{C:2}" appendQueryString="false" /></rule>

which did not work at all. Changing type="Rewrite" to type="Redirect" also did not work. I have to be doing something really stupid (it's quite all right to tell me I am... :) Looking for any hints or suggestions on how to get this to work.

IIS 8.5: Http_Cookie server variable missing in Page header

0
0

Hi All,

We are in a process to move our application from Windows Server 2003 with IIS 6.0 to Windows Server 2012 server with IIS 8.5 and have created a virtual directory for our classic asp application in IIS 8.5.

Problem we are facing is that the Page header for the IIS 8.5 hosted application does not have "HTTP_Cookie" as server variable whereas the current application which is hosted on IIS6.0 has this server variable in page header.

This is the reason our application is not able to maintain users session and code fails at the following line where it returns false when it tries to find the http_cookie server variable in the page header.

supportcookies = (instr(1,request.servervariables( "http_cookie"),"aspsessionid",vbtextcompare)> 0)

Has anybody already faced this issue or has any idea how this can be resolved?                  

Multiple domains

0
0

Hi

This is my current Web.config file and I want to keep the existing functionality:

<?xml version="1.0" encoding="utf-8" ?><configuration><system.webServer><rewrite><rules><rule name="Main Rule" stopProcessing="true"><match url=".*" /><conditions logicalGrouping="MatchAll"><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php" /></rule></rules></rewrite></system.webServer></configuration>

How do I expand this to allow multiple domains hosted on one provider with separate sub-folders?

HD requirments for live streaming

0
0

Hi,

Is there a document someplace that lays out the Disk Requirments for live streaming?  Something which documents the IOPS required for different bitrates and number of concurrent users?

IIS 7 Loosing SSL settings

0
0

http://forums.iis.net/t/1209483.aspx?SSL+certificate+for+HTTPS+binding

http://support.microsoft.com/kb/2025598

I'm having a very similar issue to these. The main differences are:

1. I don't have the CustomMetaData property element with id=5506.

2. The site appears to be still bound to the correct certificate.

The similarities are:

1. Event Viewer Event ID and description (SSL Certificate Settings deleted from Port ...)

2. Error message when trying to connect (depending on what program is accessing the site):

  Unable to establish SSL connection.

  No certificates were found

This is only happening to 1 of several sites that are using SSL certificates. None of the certificates are installed on multiple sites/(port/ip).

I've removed all expired certificates for the same site.

The certificates were installed using the IIS Manager, not the CLI tools

The fix appears to be to edit the binding, but changing nothing. Just save the current settings as they appear configured and it starts working.

Can anyone suggest a cause and permanent solution?


Help with redirect:

0
0

Suppose I have 3 sites. All sites are https and have desktop and mobile version.

1.abc.com 2.xyz.com 3.def.com

IF somebody type http://1.abc.com then it is redirected to https by backend server but url rewrite server in front of these 3 sites gives too many redirects error. Also when redirect occurs to mobile version.

Is it possible to write general outbound rule without specifying 1.abc.com, 2.xyz, 3.def.com that if somebody type http it is redirected to its https site. Also for redirection to mobile site. I need to add more sites in the future so I don't need to change the rules.

If it is not possible through rules is it possible through extending url rewrite?

Thx

Win 10/IIS 7 - cannot verify whether the built in account has access

0
0

Hi,

So just to get this out of the way; I'm running Win 10 in VM Ware hosted on OX X Yosemite. I'm using IIS 7 and Visual Studio 2015. This all worked until recently and I didn't change anything...

I have an ASP.NET Web API application that I'm hosting locally in IIS so I can access it from an Angular app that I'm writing in the host os. As I said above, everything was working until recently. I shut the VM down as I had another project I needed to work on and wasn't going to need it for a few days. I came back to it this morning, and when I try to run the app and hit the default home page I get a 503 - Service Unavailable error. 

I tried debugging it in VS and I get a message that says "Unable to start debugging on the web server. Could not start Asp.NET debugging. More in formation may be available by start the project without debugging." There is a help button in the dialog that takes me to the normal list of 1001 things to try to fix it. None of the things on the list that applied to my situation worked.

Went to IIS Manger and ran "Test Settings" in basic settings. I get a message that says "The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path." The path in question is to my VS project for my Web API stuff. 

I went to File Explorer and tried to put the folder in question under "Full Control" and got the error message "An error occurred while applying security information to: <path to file in project> Failed to enumerate object in the container. Access is denied." It lists many files/folders in the project, including App_Data, bin and obj. When I go look at them in the File Explorer it says they all have Read and Execute on for Network Service set to true. Doesn't fix the problem.

I tried to create a brand new project to see if it was the project itself that was somehow boned, but the new project doesn't work either.

I'm NOT an IIS expert, so any help (you might need to explain it to me like I'm five) would be VERY appreciated!

Thanks,

James

ASP.NET is not configured in IIS error

0
0

Hello. I'm facing a very serious problem with IIS. I have Windows 10 X64 and IIS 6.0. In Turn Windows Features on or off I did all the stuff regarding IIS. But when creating project in Visual Studio 2012 targeting .net framework 4.0 it throws error that ASP.NET 4.0 has not been configured in IIS, you have to manually configure. I used the CLI in Administrator mode and installed the aspnet_regiis.exe for .NET Framework 4.0 for both 64 bit and 32 bit manually. In IIS Application pools list .NET 4.0 is not available, so I tried to configure Application pool manually, but it's not listing .net framework versions, rather it's showing .NET CLR versions. Still choosing any version didn't work. Please help me. It's same for framework 4.5 also.

Domain A Record question with IIS

0
0

I have a 1 and 1 VPS and have setup the free domain I get with them.  The problem is that I already have a website setup on port 80 and need the new domain setup on port 100.  

Im unable to change the A record to look at the IP address and a specific port respectively so, how do I configure IIS so when the user types in the web address, IIS listens for the requests and resolves to IPADDRESS:100?

Spoke to 1and1 they're talking about changing the URL REWRITE which I have absolutely no idea about.  

Anybody shed some light on this for me?

Thanks

Site Admin in Webmatrix

0
0

When I create a Wordpress site in WebMatrix 3, the Site Admin tab seems to have disappeared from the toolbar.

Problems with installation of SQL Server 2008 R2

0
0

I am trying to install SQL Server 2008 R2 on a Windows 2008 Server machine.  I know that SQL Server 2008 is outdated, but it is software provided by a government agency for reporting, so I am not sure if I can use any other version at this time.

During the installation, I received the following error "Error 1911.  Could not register type library for file c:\Program Files (x86)\Common files\Microsoft Shared\Help\hxds.dll.  Contact your support personnel.

I have searched for hours and cannot find a solution to explain how to fix this.    I have done the following:

- Installed and uninstalled 

- ran sfc /scannow and each time it says it found corrupt files and fixed them

- ran Malwarebyes as well as ccleaner

- rebooted several times

- tried renaming the hxds.dll file and rerunning sfc /scannow  to repair the file.

Any help would be appreciated! 

Kraig

ASP.NET 4.0 not configured in server Error.

0
0
Hello. I'm facing a very serious problem with IIS. I have Windows 10 X64. In Turn Windows Features on or off I did all the stuff regarding IIS. But when creating project in Visual Studio 2012 targeting .net framework 4.0 it throws error that ASP.NET 4.0 has not been configured in IIS, you have to manually configure. I used the cmd in Administrator mode and installed the aspnet_regiis.exe for .NET Framework 4.0 for both 64 bit and 32 bit manually. In IIS Application pools list .NET 4.0 is not available, so I tried to configure Application pool manually, but it's not listing .net framework versions, rather it's showing .NET CLR versions. Still choosing any version didn't work. Please help me. It's same for framework 4.5 also.

Url rewrite to Owncloud server running on FreeNas

0
0

Good evening,

I have talked the internet without much success to try and work this out for myself but feel like I failed. What I would like to do is access my internally running server hosting Owncloud whenever I use the a url like https://myhome.Remotewebacess.Com/owncloud.

I have setup a reverse proxy using the wizard which gets me to the server but it is like scripts, images, css are blocked or not being returned.

I is server is
Wse 2012 R2
Iis
Arras (latest version)

Owncloud is
Apache 2.2
Running on free bad

I have turned on request tracking and see I am getting 404 errors to files that are there.

Any and all help is gratefully received.

I have added a screen shot of what I get with the redirect.

Thanks
Mo

Multiple Domains and subdomains for one website

0
0

I am trying to figure out how to assign multiple domains and sub domains to one website.

At the moment, I have multiple bindings, but the only problem with this is the the website acts as multiple websites. For example, sessions won't work across the different domains and thinks they are different websites.

Also, I would like to be able to do it without creating tons of bindings and it to act just like a single site. 

I saw Url Redirect which might work, but seeing if there are better solutions.Especially calling the list of domains out of SQL looked a little messy with it. Although, wondering what my options are and if it is doable

Is there any way to achieve this with IIS?

Problem with IIS7 and FIPS [ Windows Server 2008 r2 ]

0
0

I wonder if anyone can help me with a problem that can be assumed between the Ajax version, the IIS7, or Server settings.


The Home appears well publicized even lets you download a .PDF files.

No site hyperlink works and tan showing me the following error:





Server Error in '/' Application.

This implementation is not part of the FIPS validated algoritmoscriptográficos Windows platform.

Description: An unhandled exception when running lasolicitud current Web. Review the stack trace for másinformación about the error and where it originated in the code.

 

Exception Details: System.InvalidOperationException: This implementation is not part of the FIPS cryptographic algorithms validadospor Windows platform.

 

Source Error:

 

It has generated an uncontrolled during laejecución of the current web request. Information on the origin and laubicación of the exception can be identified using the exception delseguimiento the next stack.

 

Stack Trace:

 

 

[InvalidOperationException: This implementation does not formaparte of cryptographic algorithms validated by the plataformaWindows FIPS.]

   System.Security.Cryptography.SHA256Managed..ctor () + 14,182,306

  AjaxControlToolkit.ToolkitScriptManagerHelper.Hashing (String content) +53

  AjaxControlToolkit.ToolkitScriptManager.LoadScriptReferences (HttpContextBasecontext, String [] bundles, Boolean forCombineAndMinify) +253

   AjaxControlToolkit.ToolkitScriptManager.OnLoad (EventArgse) +271

   System.Web.UI.Control.LoadRecursive () +71

   System.Web.UI.Control.LoadRecursive () +190

   System.Web.UI.Control.LoadRecursive () +190

   System.Web.UI.Control.LoadRecursive () +190

   System.Web.UI.Page.ProcessRequestMain (BooleanincludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

 

 

Version Information: Microsoft .NETFramework Version: 4.0.30319; Version ASP.NET:4.0.30319.34249




Thanks to all. Greetings from Madrid!

</div> </div>

Problem with IIS7 and FIPS [ Windows Server 2008 r2 ]

0
0

I wonder if anyone can help me with a problem that can be assumed between the Ajax version, the IIS7, or Server settings.


  error:



Server Error in '/' Application.

This implementation is not part of the FIPS validated algoritmoscriptográficos Windows platform.

Description: An unhandled exception when running lasolicitud current Web. Review the stack trace for másinformación about the error and where it originated in the code.

 

Exception Details: System.InvalidOperationException: This implementation is not part of the FIPS cryptographic algorithms validadospor Windows platform.

 

Source Error:

 

It has generated an uncontrolled during laejecución of the current web request. Information on the origin and laubicación of the exception can be identified using the exception delseguimiento the next stack.

 

Stack Trace:

 

 

[InvalidOperationException: This implementation does not formaparte of cryptographic algorithms validated by the plataformaWindows FIPS.]

   System.Security.Cryptography.SHA256Managed..ctor () + 14,182,306

  AjaxControlToolkit.ToolkitScriptManagerHelper.Hashing (String content) +53

  AjaxControlToolkit.ToolkitScriptManager.LoadScriptReferences (HttpContextBasecontext, String [] bundles, Boolean forCombineAndMinify) +253

   AjaxControlToolkit.ToolkitScriptManager.OnLoad (EventArgse) +271

   System.Web.UI.Control.LoadRecursive () +71

   System.Web.UI.Control.LoadRecursive () +190

   System.Web.UI.Control.LoadRecursive () +190

   System.Web.UI.Control.LoadRecursive () +190

   System.Web.UI.Page.ProcessRequestMain (BooleanincludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

 

 

Version Information: Microsoft .NETFramework Version: 4.0.30319; Version ASP.NET:4.0.30319.34249




Thanks to all. Greetings from Madrid!

Print to network printer fails from IIS 8 web application

0
0

Hi All,

I am stuck with an issue printing a crystal report to network printer on IIS8 ( Windows server 2012). Printer Queue shows up information on document is being spooled-> printed -> Deleting but nothing is sent to printer. I believe this is something related to Security. 

I tried running application pool under all builtin accounts and a domain account having admin privileges but nothing helped. 

I believe there is no problem with printer and i am able to print a test page to network printer.

Please help me fix this issue.

Thanks

Viewing all 27852 articles
Browse latest View live




Latest Images