Welcome Guest, Not a member yet? Register   Sign In
web hosting CI4 (Bonfire 2) 404 strict-origin-when-cross-origin.
#1

Hi


My codeigniter 4 with bonfire 2 on xamp installation  local host works with some adjustmentsin httpd.conf (virtual host) . Ok, Great.


When I installed a copy BONFIRE2 (with codeigniter4 ) on the subdomain http://ci4.brikelli.eu/ on the server where I am hosting and adjustmenst my .htaccess an error occurs.
Hosting not privilege httpd.conf

when start the below url via mozzila firfox
http://ci4.brikelli.eu/
here is the error description


[Image: ci4_bf2.jpg]



some compoments an error occurs (strict-origin-when-cross-origin)
GET


http://ci4.brikelli.eu/assets/auth/css/a...875763.css[HTTP/1.1 404 Not Found 6ms]

404 Not Found
strict-origin-when-cross-origin.

Also when i click on login button on this html  form on URL
ci4.brikelli.eu/

the result is the same error

GET
http://ci4.brikelli.eu/login

Stanje
404
Not Found
HTTP/1.1
strict-origin-when-cross-origin

I’ve read a lot about this and can’t find a solution
Can anyone help me. I'll give him a beer


Matteo
Reply
#2

404 sounds that your servers-config did not point to /public. Did you check this config? And can php access the webspaceroot to call all other files?
Reply
#3

(02-16-2022, 11:10 AM)sprhld Wrote: 404 sounds that your servers-config did not point to /public. Did you check this config? And can php access the webspaceroot to call all other files?

Public is accessible, when click

http://ci4.brikelli.eu/
the public is in
http://ci4.brikelli.eu/app/public/index.php
and call url is working but some of files have error as as desribe in my post

the problem after 404, is in second message cross-origin
Reply
#4

404 Not Found
strict-origin-when-cross-origin.

Thats a CORS Error
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB