R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Trouble with reverse proxy
Last Post 25 May 2009 06:51 AM by izadal. 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
ESTEBENUser is Offline
New Member
New Member
Posts:4

--
31 Jan 2008 01:34 PM  
Hi,

How to deal with reverse proxy ?

I mean My DNN is hosted on an IIS and to pass thru our network to the web I need to use reverse proxy stuffs.

I added the mod_proxy_html to my Apache to fix this stuff and in fact all my links are well redirect but the DNN menu not.

mod_proxy is matching some tags to find the URL but the menu has no such tag.

Is there someone who had this trouble and fixed it ?

<img src='desktopmodules/ntforums/images/emoticons/sad.gif' height='20' width='20' border='0' title='Sad' align='absmiddle'> <img src='desktopmodules/ntforums/images/emoticons/blink.gif' height='20' width='20' border='0' title='Blink' align='absmiddle'>
robert_chumleyUser is Offline
Advanced Member
Advanced Member
Posts:592

--
31 Jan 2008 02:45 PM  
Hello Esteben,

The solpart menu in DNN is being rendered purly using javascript. Therefore, it has already passed through your firewall and your proxy system. There are other Menu systems available for DNN that may solve this problem.

Thanks,
Robert Chumley<br>r2integrated (formally bi4ce)
ESTEBENUser is Offline
New Member
New Member
Posts:4

--
31 Jan 2008 05:06 PM  
Hi robert !

I'm a really beginner in DNN.

Could u tell me which other menu may I use ?

Thanks
robert_chumleyUser is Offline
Advanced Member
Advanced Member
Posts:592

--
31 Jan 2008 09:34 PM  
Hello Esteben,
I am not sure of any off the bat. I do know some may exist on
www.snowcovered.com
You can probably search on menu and get a few. You may have to experiment with some trial modules to see if you can find one that will work with this fairly out of the ordinary problem.
Thanks,
Robert Chumley<br>r2integrated (formally bi4ce)
pauldesUser is Offline
Veteran Member
Veteran Member
Posts:1392

--
01 Feb 2008 05:20 PM  
TransMenu and NavigationSuite are 2 that I have used in the past from snowcovered.com
ListX....makes you look brilliant, even though you're not.
izadalUser is Offline
New Member
New Member
Posts:1

--
25 May 2009 06:51 AM  
Hi there,

I've just worked out how to do this myself.

I did it as a sub-site to my main site (http://www.intuitiveit.com.au/subsite) but I'm sure it will work for top level sites too.

Due to the way that DNN handles host headers (so you can have multiple portals under one instance) and the way solpart menu generates its URLs, there are some gotchas that need to be addressed.

1. On the apache box, in the httpd.conf the proxypass and proxypassreverse must point to the same value as the servername. This is to ensure the solpart menu reflects the correct url. See the example here

<VirtualHost>
ServerName www.intuitiveit.com.au

ProxyPass / http://www.intuitiveit.com.au/
ProxyPassReverse / http://www.intuitiveit.com.au/
</VirtualHost>


2. On the apache box, enter a line in the hosts file to point to the backend IIS server:
192.168.0.1 www.intuitiveit.com.au

3. On the IIS server, make sure the directoryname that contains the DNN code IS NOT the same as the URL you are using.

The right way:
Directory name c:\inetpub\wwwroot\intutiveit\dnn
Portal alias subsite

The wrong way:
Directory name c:\inetpub\wwwroot\intuitiveit\subsite
Portal alias subsite. You will get an infinite redirect loop if they are the same

4. Create a virtual directory under the Site Root called subsite and point it to c:\inetpub\wwwroot\intutiveit\dnn

5. Create your new portal in DNN Host settings and make it www.intuitiveit.com.au/subsite

That's it. Good luck
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share