|
|
Rank: Newbie
Joined: 3/4/2008 Posts: 1
|
Hi, quick beginners question.....
I'm looking to use umbraco to update a news section of a website. The rest of the site is to be static at this stage so I only need Umbraco to manage the news section.
Is it possible to use Umbraco and also use some of my own pages within the same website or does the whole site need to be managed by Umbraco in order for it to work? :hmm:
Thanks for any help
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,831 Location: MA, USA
|
Umbraco needs to be installed in the root of your IIS website (not in a sub-directory). In that sense, umbraco runs the site. But you can also specify folders that you do NOT want umbraco to take care of, where you have your existing static content (maybe the /products or /support folders, for instance). Just update the following line in your web.config... Code: <add key="umbracoReservedPaths" value="/umbraco/,/install/"/>
to specify the url folders you don't want handled by umbraco, perhaps like this... Code: <add key="umbracoReservedPaths" value="/umbraco/,/install/,/products/,/support/"/>
cheers, doug.
MVP 2007-2009 - Percipient Studios
|
|
Rank: Newbie
Joined: 12/11/2008 Posts: 4 Location: Rochester, NY
|
I have a question about this. Brand new install of Umbraco (for evaluation) on a server. We want to use it in conjunction with existing site content (Coldfusion) so I created a subfolder called /test and put an index.cfm file in the folder. Then I changed this line Code:<add key="umbracoReservedPaths" value="/umbraco/,/install/,/test/"/> in web.config but I still get the error when browsing to localhost/test/: Quote:The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Etc.
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,831 Location: MA, USA
|
I don't think umbraco is getting in the way or you'd have seen umbraco's default 404 page instead. But let's test a few things first to be sure... 0. I assume you can log in to the umbraco administration interface, and have at least one content node created (or have installed Boost (v4 only) or installed one of the website wizards). 1. You can see a page you created in umbraco when you browse to the website (http://localhost, probably) 2. If you try to browse to a page you know doesn't exist in umbraco and isn't in the /test folder you'll get a 'not found' page thrown by umbraco. (http://localhost/foobar.aspx, for instance). Now you know what an umbraco 'not found' looks like. Note, you might need to turn off the 'Show friendly HTTP error message' option if you're using IE to browse the site (this is in the Internet Options dialog on the Advanced tab) 3. Now try your http://localhost/test/index.cfm page. If you get an umbraco not-found error then double-check your web.config file (though it appears correct from what you've pasted into the forum, above) If you get a different error then umbraco is not the problem. Instead, you might have a ColdFusion or IIS configuration problem. Let us know what you find out. cheers, doug.
MVP 2007-2009 - Percipient Studios
|
|
Rank: Newbie
Joined: 12/11/2008 Posts: 4 Location: Rochester, NY
|
Thanks Doug for the quick reply:
To answer your questions...
0-1. We set up the "Umbraco Website Wizard Demo" and handful of default pages run smoothly. I also created a new page called "AlexTest" and browsing to /alextest.aspx works just fine, it also appears in the navbar.
2. When I browse to a page I know is invalid, /foobar.aspx, I get a very simple error message: "The system cannot find the path specified." (I am browsing in Firefox).
3. When I browse to /test, after inserting the proper parameter in the web.config file, I get the error message shown above in blue.
Based on this, it looks like the conflict is in IIS or CF Administrator. Am I right?
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 592 Location: NL
|
To test if its IIS related, create a static html file (index.html), place that in your test-folder and see if you can access that one. If that one doesn't give an error, IIS is probably not configured right to serve cfm-files (prohibiting them, thus showing the 404-error).
HTH, PeterD
Check out the calendar with recurrence at my blog.
|
|
Rank: Newbie
Joined: 12/11/2008 Posts: 4 Location: Rochester, NY
|
Thanks for all the insight. I included index.htm and index.html in the /test subfolder, and both can be *explicitly* viewed just fine. I also included index.cfm and index.asp, and neither of them are viewable.
When we installed Umbraco it was into an existing default IIS site, to replicate what we anticipate happening if we take this to production. And that IIS site has historically run on CF, with some sections in ASP, so we know it was the Umbraco install that altered the environment.
Any ideas what IIS settings I might need to tweak?
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 592 Location: NL
|
During the install of umbraco, NO changes are made into IIS. If your site ran CF before, well, only thing I can think of is the web.config causing the trouble.
What version of umbraco did you install? Can you post the 2 lines of your web.config here: umbracoReservedUrls and umbracoReservedPaths?
The error-page you see, does it say anywhere it is a node in umbraco that can't be found?
HTH, PeterD
Check out the calendar with recurrence at my blog.
|
|
Rank: Newbie
Joined: 12/11/2008 Posts: 4 Location: Rochester, NY
|
We installed from the 3.0.3 msi; we have yet to apply the 3.0.6 update. Code: <add key="umbracoReservedUrls" value=",/config/splashes/booting.aspx,/config/splashes/nonodes.aspx,"/> <add key="umbracoReservedPaths" value="/umbraco/,/install/,/test/"/>
My error page: Quote:The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. * If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. * Click the Back button to try another link.
HTTP Error 404 - File or directory not found. Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. * Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 592 Location: NL
|
OK, I might need to revise my earlier statement. You used the msi-installer. I have no experience on what that does to IIS, so it might as well have changed the IIS.... Reason I say this is because of your error. The error you get is clearly an error generated by IIS and not by umbraco.
Check IIS if the mapping for .cfm is still there. Another possibility is that .cfm is removed from the mime-types, this causes a 404 as well.
HTH, PeterD
Check out the calendar with recurrence at my blog.
|
|
|
Guest |