I need to have portions of the application under ssl. I have attempted
different ways of doing Including the following code in my
@cont = controller_name
@act = action_name
@subdomain = request.subdomains.first + '.'
@subdomain = ''
This, however does not work, and i get an error stating that there are
too many redirects.
What is the best way of accomplishing this. If need be I will make the
entire site ssl, but I can't even figure out how to do that in the
apache.conf because of the subdomains.
Any help would be great!