Azure Subfolder Blog - iis-7

I'm trying to figure how how/if it's possible to add a blog to a subfolder on an existing azure site.
BlogEngine seems like it would be a good choice since it's written in .net and from what I've read easy to setup as a standalone site on azure.
The problem I'm running into now is how can I setup my sub folder /blog as an application in azure. I know locally you can just pull up IIS and rightclick -> convert to application. But is there something I could put in the web.config or publish settings that would achieve the same thing?
Right now I'm getting an error message because /blog has it's own web.config file.
If there's an easier way or I'm thinking about this wrong let me know that too :-)
Thanks,
Andrew
EDIT
I contacted azure supported and they suggested I upgrade from a azure web site to a azure VM.

At this time there isn't a good way to run a full fledged blog engine side by side with an azure website without setting up a VM.
I ended up pulling from a google blogger blog using their data API. Not exactly what I was wanting to due but I couldn't take on the extra cost associated with a VM solution.

Related

access localhost on another computer with webmatrix

so currently i am working on a wordpress site with webmatrix, and would like to view my progress in another computer in my network (at my workplace)
i want to either add the files to a shared drive for everyone on the network to view, or publish it locally with iis hosting
for the first method, i tried to change the url under settings from localhost:0000 to mycomputerIP:0000 but it did not work
for the second method i tried to enter the credentials of iss in the other computer into settings under publishing, so that it can be published locally, but it also did not work
i have looked for solutions online, but nothing seemed to be able to fix it, i am sorry for the vague description, but if anyone would like to help me i can provide more information
You should be able to follow the instructions at the following link to make sure everything is setup correctly:
http://blogs.iis.net/vaidyg/archive/2010/07/29/serving-external-traffic-with-webmatrix-beta.aspx
Edit
If you are using Windows Vista, 7, 8 or 8.1 you could look at installing a local copy of IIS and creating a virtual server for your WebMatrix site. It's not as much work as it sounds and it will give you a full management console, host name bindings and all kinds of other advantages. The following link should get you started:
http://www.howtogeek.com/howto/windows-vista/how-to-install-iis-on-windows-vista/

IIS 7 - Static Content Attempting Authentication

I have a WebForms application hosted in IIS 7. When I run the site from Visual Studio 2010, my static content all loads perfectly. We have the same site hosted in another production environment and the site works great there also.
However, when I am trying to host the site in a new production environment, it is giving me a status code of 302 Found whenever it attempts to load the static content.
When I open up Chrome's Developer Console and look at the network, it shows this:
/login.aspx?ReturnUrl=%2fjs%2fjquery.js
This leads me to believe that something in IIS7 is forcing authentication to occur on static content. Is there anything I should check to see what the likely cause of this problem is?
Ok, for whatever reason, I had to add the IUSR user and give it access to Read on my web apps. I am not sure what changed that made this a requirement. If anyone knows, please feel free to add comments.
If you set the same permissions as for wwwroot folder the problem disappears:
Users and IIS_IUSRS - read access

Developing Locally for a site that, when live, utilises Url Rewriting

I've just installed and configured my server (WS2008, IIS7) with version 2 of the URL Rewriting Module. I've setup a simple static redirect as follows
/contact >>> /pages/contact/default.aspx
So users of the site have a simple url to get to the original, longer file path. It works great and even post backs to the right place.
My question is regarding the mapping of this page, now that the URL has changed, when I go back to my local development version. I develop using VS 2008 and it's built in web server, alongside another developer with the same setup, using SVN as source control. Now as far as I know there is no way to configure URL rewriting for these instances. So other than changing all of the path names used in the project before we publish and release it (not a realistic solution), I don't see how we can continue to work in this way. Is a different development configuration the answer or are there solutions to this?
Thanks
Maybe this is too obvious, but... what's stopping you from running IIS7 on your dev machines? I highly recommend IIS in the dev environment. Especially with IIS7 due to the new integrated pipeline. Doing anything else is like developing with "software X" when you're going to push "software Y" to your users.
If there's some reason you can't do that... Mike J's answer is quite reasonable: use a custom HttpModule.
This is kind of a hackish solution. Add a httpmodule to your project that adds a filter to the Response stream. This filter would replace all instances of "/contact" with "/pages/contact/default.asp". Then only add the httpmodule into your development web.config file.

How to manage IIS from web page

I have the need to add Host Headers to an existing web site in IIS. I want to be able to add this host header via a Web page, ASPX page. Also, I want to able to create a new web site from file.
Sample code?
How to do I manage security issues, what issues should I be concerned about?
How many host headers can a single web site have?
I am using the ASP.Net membership provider on the site.
Server is running IIS7 and Windows 2008 Server.
WMI is the best way to create website from your pages, I have used it and had referred http://blogs.msdn.com/ramesh_r/archive/2004/03/24/95109.aspx link.
This is really a cool link to understand/ learn WMI programming.
You can download WMI code generator from http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en
IIS 7 Has a managed code API which should allow you to do what you need.
Take a look at the API documentation from Microsoft, here: http://msdn.microsoft.com/en-gb/library/aa347649.aspx
This blog may be useful, too.

Setting up IIS7 as a basic web host (website w/ attached ftp site)

Am I becoming a lazy researcher? If I don't find good answers via Google, instead of continuing to try various research methodologies, here I am at SO again...
I want to host a few websites on IIS7 on Windows Server 2008. I am familiar with how to setup/configure the website. What I would like to do is setup a ftp site for each website allowing a specific user to manage the files for that site. I do not understand enough of how to administer the new FTP server and do not know the best practices for how to setup the security for the directory/website/ftpsite.
Does anyone have experience in this area or know of any good online resources?
Thank you.
You have to use the old IIS6 interface to setup FTP websites. Then you set permissions on directories as you would for regular file system access. I don't really like this very much, but it does the job.

Resources