Wildcard SSL Apache Windows

Hello Lucee community, this is my first post here and i’m new at lucee.

We builded a project with coldfusion, now we ported this project to lucee, most things are working. but one big problem i have, is that ssl didn’t working. on apache the configuration is okay, without lucee service, the SSl works fine. with lucee service online. i got a “To many redirects” error.

I used this tutorial to connect apache and lucee.

Maybe someone can help me out?

Thanks.

can you post your apache config?

1 Like

hi zac, thx for this fast answer.

httpd.conf https://demo.dataloft.systems//doks/dam/7AB258A5901B0E8FC4B0332F3CAE096E/httpd.conf
ssl conf: https://demo.dataloft.systems//doks/dam/7AB258A5901B0E8FC4B0332F3CAE096E/playground.dataloft_ssl.conf

ssl conf is included in httpd.conf

thank you very much

hmm, looks fine to me…

where are the directs coming from, not your cf code?

some lock down recommendations tho!

RewriteRule ^(./)?.git+ - [R=404,L]
RewriteRule ^(.
/)?.svn+ - [R=404,L]
etc…

<Location /lucee/admin>
Require local
Require ip 10.10.2.0/255.255.255.0

1 Like

using fiddler, i see your https redirecting to your http and back over and over again again…

is there a .htaccess file involved somewhere?

1 Like

i added a empty index.cfm file. so i think the directs are not coming from my cf code.

okay i try the fiddler, thank you :slight_smile:

yeah
htaccess:

RewriteEngine on

RewriteCond %{HTTP_HOST} ^playground.dataloft.systems$
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]

i restarted again the lucee service, now it looks fine. hmm :slight_smile:

1 Like

ah okay i got it now, the redirects come from my cf code. i had to restart the lucee service to “activate” the test index.cfm, but with coldfusion i don’t have this redirects problems with the same code. i try to figure out, where it’s come from.

1 Like