Hi,
I am just learning to use Cuyahoga. I have created the first website OK, but the second website gives a configuration error -
The module 'UrlHandlerModule' is already in the application and cannot be added again
I have looked through all the forum posts but I cannot find any reference to it. The url to the site is :
www.cara-cerna.com/risik/. Hope somebody can help.
Thanks and regards.
This is probably caused by having the second web site as a sub site in the main website. You cannot nest Cuyahoga websites because the handlers/httpmodules get into each others way (as you have noticed).
Thanks martijn for your reply, but I'm still having problems with the second site.
martijnbThis is probably caused by having the second web site as a sub site in the main website. You cannot nest Cuyahoga websites because the handlers/httpmodules get into each others way (as you have noticed).
I don't quite get what you mean by me creating a sub-site in the main site. Cuyahoga is installed in wwwroot. I create a virtual directory wwwroot\risik and point it to wwwroot. The second site url I point to
http://www.cara-cerna.com/risik. I am using a web host for this site (exabytes.com) with HELM site administrator, if that rings a bell.
I tried the same thing on my localhost and it works fine.
I just browsed your site and noticed that there is a site on the root of
http://www.cara-cerna.com/. You mentioned that you also defined a second site at
www.cara-cerna.com/risik. That is exactly what I meant by adding a subsite. The httpmodule is already active on the root web site, so the httpmodule (although physically the same) at the subsite (/risik) conflicts with it.
A quick solution is to also create a virtual directory for the site that resides at the root and maybe add a redirect from the root to that virtual directory.
OK. I think I know what you mean now.
martijnbA quick solution is to also create a virtual directory for the site that resides at the root and maybe add a redirect from the root to that virtual directory.
As I mentioned earlier, we are using a web host, so there are some restrictions in what we can do. However, we have found another workaround: We created an
alias to the root site and use that alias as the url for the second website. So the url is now
http://www.risik.cara-cerna.com.
Thanks again.
Hilmy
Ah yes, that's a nice workaround.