Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Forms and Windows Auth on the Same IIS

web-app

Hi, we need to have windows (employees) and form (customers) authentication on the same Gemini. So we have setup 2 applications under IIS default site: one called "Gemini" and the other "Gemini2". Copied original gemini folder with web application into new folder, changed web.config authenitication to Forms, made change to gemini and gemini2 authentication settings: first windows only, second anon and forms. Can log in as expected and administer. However, when we go to projects (or issues) from windows auth site we get error 400 Bad Request to "http://our.site.com/Gemini/%3C!DOCTYPE%20html%20PUBLIC%20%22-//W3C//DTD%20XHTML%201.0%20Strict//EN%22%20%22http://www..."
In general settings Full Genini URL is set to the other (forms auth. site) "http://our.site.com/Gemini2", Enforce Gemini URL is set to Yes.
Thanks.

k3btg
· 1
k3btg
Replies (8)
helpful
0
not helpful

Which version of Gemini are you running?

If 3.6.z then set Enfore URL to "NO" and it should do the trick.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

v3.6.5 Build 2638
Did set Enforce to "No". Same Error.
Earlier today I saw switch from domain name to IP address, when Enforce is set to "No".


k3btg
· 1
k3btg
helpful
0
not helpful

Just realised that Administration -> Global Settings -> General -> "Full Gemini URL" is site-specific. Changed to 2 different addresses in windows and forms sites and now it seems to be working as expected. Could you confirm that settings are site specific; i.e. stored in config file of web site, not in the database. Thanks.


k3btg
· 1
k3btg
helpful
0
not helpful

Unfortunately, it is not site specific. However, setting "Enforce" to "NO" should do it.

I presume the URL got changed to the forms URL when in windows mode. Is that correct?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

No, they stayed different. In the first our.site.com/gemini it is "http://our.site.com/gemini" and in the second our.site.com/gemini2 it is "http://our.site.com/gemini2". Closed browser, opened again and they stay as is. But the fact that this is not web site specific setting kinda worrying me now... Which table general setting are stored?


k3btg
· 1
k3btg
helpful
0
not helpful

The settings are stored in the gemini_applicationsettings table.

What I meant in my previous post is:

When you login to the windows site and you click on an issue, you get an error. Is the url in the address bar for the forms site?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

No, not from forms site. Previously http://our.site.com/gemini changed to http://192.1.1.1/gemini; i.e. not the forms site, not windows site, but something else.

I checked the table - table has data from win auth site. But when I load 2 sites side by side i can see 2 different values in the same field. Both sites use same db. How is this possible? Have screen shot of 2 browser windows, side by side showing different values.


k3btg
· 1
k3btg
helpful
0
not helpful

Restart of IIS reset both sites to the same "Full Gemini URL" value equal to the value stored in the table. I opened the other site after restart of IIS, changed setting there and now both sites use their own values.


k3btg
· 1
k3btg