mercredi 30 octobre 2019

Problem getting index.php and style.css to be used in all subdirectories in Apache website

In an Apache website running on WAMP, I am trying to set a single 'style.css' and 'index.php' file to work in every folder level in one of the website folders named documents.

Everything looks and displays perfect as long as I put a separate copy of 'index.php' and 'style.css' in every subfolder in the documents directory. The site has its own 'styles' folder that contains all the other css files used elsewhere on the site but I cannot find the right place to set things such that the specific set of items needed for the 'documents' folder will work for every sublevel of each folder inside 'documents'.

It uses the Apache directory listing default style.css and index.php as soon as I drop down beyond the top directory level. I need everything in the documents folder to only use the one style.css and index.php file that were created for it

Any advice appreciated because i am not good at CSS and don't know what would fix this.




Aucun commentaire:

Enregistrer un commentaire