I'm trying to do a website for an university association. For that we are using the university servers. We have had a website, but we were trying to change the website from neqist.ist.utl.pt/~neqist.daemons/site/ to neqist.ist.utl.pt/.
In the server we have a "public" folder, a "web" folder and a "yesterday" folder, the last one beeing a backup folder, i think.
In the "web" folder we had a "site" folder where we had the wordpress set-up. For doing what we wanted to do I just changed the wordpress files from the "site" folder to the folder above, "web", and erased a index.php file that only had the following code :
When acessing the site neqist.ist.utl.pt we have the following error:
**Forbidden**
You don't have permission to access /~neqist.daemon/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.25 (Debian) Server at neqist.ist.utl.pt Port 80
What I tried
put the wordpress files at the same level of the "public", "web" and "yesterday" folder, this is, right at the /neqist folder in the university servers. Same error appears.
create the "site" folder again in the "web" folder and putting the wordpress files back in, but the error still appears
I'm an ammateur in this matter, I use filezilla and I connect with the port 22 for sftp, since the university doesn't allow me to connect just with ftp
What you should check:
chown -R
them to the web server user (usually www-data
or nginx-fpm
), and chmod -R 755
them wp-config.php
file to match new server database credentials and database name
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.