Expand my Community achievements bar.

SOLVED

AEM new site: Authentication failed, but I don't want any authentication?

Avatar

Level 7

Hi folks,

I've added a new site in the usual way, new vhost file in available_vhosts, soft link in enabled_hosts, new hostname added to publish farm /virtualhosts list.

Same as I usually do, but for some reason I don't see my new site, instead it does the  redirect below and displays "Authentication failed"

 

This url shows up in my browser bar

 

<new site url>/?resource=%2Fcontent%2Fxxx%2Fen%2Fhome.html&$$login$$=%24%24login%24%24&j_reason=unkn...

 

Dispatcher debug


[Thu Jun 08 23:14:45.186878 2023] [rewrite:trace2] [pid 11593] mod_rewrite.c(471): [client  xx.xxx.187.28:57596] 10.43.31.152 - - [<new site url>/sid#559855393c00][rid#55985568e1a0/initial] forcing '/content/xxx/en/home.html' to get passed through to next API URI-to-filename handler


[Thu Jun 08 23:14:45.399478 2023] [rewrite:trace2] [pid 11593] mod_rewrite.c(471): [client xx.xxx.187.28:57596] 10.43.31.152 - - [<new site url>/sid#559855393c00][rid#5598556a0230/initial] init rewrite engine with requested uri /favicon.ico, referer: <new site url>/?resource=%2Fcontent%2Fxxx%2Fen%2Fhome.html&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown

 

I don't see any evidence that anything reaches the publish server.

 

thanks

Fiona

1 Accepted Solution

Avatar

Correct answer by
Level 7

To answer my own question, there wasn't anything wrong with the dispatcher/sling mappings configuration.   The Author had clicked on Authentication Requirement on their home page but we don't have that set up

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

To answer my own question, there wasn't anything wrong with the dispatcher/sling mappings configuration.   The Author had clicked on Authentication Requirement on their home page but we don't have that set up