8000 Cannot be installed on a subdomain? · Issue #146 · phpback/phpback · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot be installed on a subdomain? #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
matthewbacon opened this issue Aug 23, 2018 · 4 comments
Open

Cannot be installed on a subdomain? #146

matthewbacon opened this issue Aug 23, 2018 · 4 comments

Comments

@matthewbacon
Copy link

I installed PHPBack on my subdomain https://feedback.mydomain.com and I proceeded through the installation however the installation script did not complete. It didn't write the home or admin directories & pages. I now get 404 messages. Any ideas?

@petrk94
Copy link
petrk94 commented Sep 6, 2018

I have it working successfully on my subdomain. Do you have changed the credentials for the application/config/database.php ?

@elpatron68
Copy link

Exactly same problem here. Any idea?

@matthewbacon
Copy link
Author
matthewbacon commented Oct 12, 2018 via email

@svoeth
Copy link
svoeth commented Oct 14, 2018

Do you have SSL enabled (SSL-Proxy or similar)?
That was the problem in my case. Somehow the resources are linkes with http. Therefore the browser blocks these resources (mixed-content).
I solved this by putting "Header set Content-Security-Policy "upgrade-insecure-requests; default-src https:"" into the .htaccess File in the root folder.
Also you have have to set "AllowOverride All" instead of none in Apache config for the .htaccess files to work.

This is a workaround and should be fixed somehow in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0