Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Make IIS URL Rewrite rules work for /api and /ui pathsMake IIS URL Rewrite rules work for /api and /ui paths
Previous
 
Next
New Post
2/24/2015 2:26 AM
 

Respected Sir/Mam,

We have API Controller with endpoints under /api/* and /ui/*

When DNN loads, its handler does not recognize /api and /ui therefore our applications are not accessible.

We have tried to use a URL rewrite rule in IIS to ensure that /api and /ui are handled by our API Controller running on a different site on the IIS server however we need to make sure that DNN does not interfere.

We need a build of the site that does not interfere with our /ui and /api API Controller

We need to run two websites on a single domain under the same IIS server one is in DNN and another is in MVC.

Can we configure both website in single domain?

Please help to resolve this issue.

Regards,

Sourabh S. Malani

 

 
New Post
3/7/2015 7:19 PM
 
what version of DNN, and what friendlyurl provider (http://www.dnnsoftware.com/wiki/page/...) are you running? If it's the advanced one you can configure items to ignore (http://dnnurlmanagement.codeplex.com/ will help) -note: our service framework requests within DNN use the format ~/DesktopModules//API/ so you'll not be able to ignore those I'm afraid

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/16/2015 1:19 AM
 
sourabhmalani wrote:

We need to run two websites on a single domain under the same IIS server one is in DNN and another is in MVC.

Can we configure both website in single domain?

 


This is problematic.  Essentially you want to run two applications for the one domain.  Theoretically it might be possible by using a virtual directory but it's not advisable or supported.

You would be better off building your API within DNN and leveraging all the permissions/security benefits of that.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Make IIS URL Rewrite rules work for /api and /ui pathsMake IIS URL Rewrite rules work for /api and /ui paths


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out