Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Error 403, PHP File returning as Download file #69

Open
thegulshankumar opened this issue Apr 4, 2018 · 3 comments
Open

Error 403, PHP File returning as Download file #69

thegulshankumar opened this issue Apr 4, 2018 · 3 comments

Comments

@thegulshankumar
Copy link

thegulshankumar commented Apr 4, 2018

Hi,

I already had SSL installed through this script. But, I wanted to add certificate for one more subdomain.
After following the process

sudo su
sple.sh
app name
user
example.com www.example.com new.example.com
Clicked on expand
SSL Installed, but error 403. Any file like wp-config.php returning as download file. Temp, I fixed it by sucuring permission. 

Can you please tell me how can I fix?
Thanks

@cywtf
Copy link

cywtf commented Apr 11, 2018

You need to run sple.sh, put the same app name and user but in the domain add all the ones you have plus the new subdomain. The installer will ask you if you want to update the certificates, accept that and see if it works with the new subdomain. If it still doesnt, try resetting nginx with sudo service nginx-sp restart.

@thegulshankumar
Copy link
Author

I tried this step. However, last thing that fixed was deleting app and re-installing WordPress. :-(

@cywtf
Copy link

cywtf commented Apr 11, 2018

That is extreme!

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

No branches or pull requests

2 participants