mercredi 20 décembre 2017

404 Error When Attempting To Access File in Folder on Apache when File Exists in Folder

I am using Apache for a web app. When the user signs up, a new folder is created for them so that their dashboard is personalised. When I do a test user sign-up and check if the folder exists in FTP it always shows up containing all the necessary files. But when I navigate to the folder in my browser window it returns a 404 error message saying the page cannot be found. There is an index file in each folder so it should show up automatically as I understand it. I have tried changing the permissions on the created folders but this doesn't seem to have any effect. I have also added the following to the Apache directives:

Alias /web "/var/www/web"
Options +Indexes
AllowOverride None

However, this does not solve the problem either. Any help would be much appreciated.




Aucun commentaire:

Enregistrer un commentaire