Closed enrybisco closed 7 years ago
Will images and css work if you restore original .htaccess
?
No I have tryed to restore the file in the folder pub/media in the htaccess file: readded "All" in1st line: " Options All-Indexes" and taken off the comment from the line: # Options +SymLinksIfOwnerMatch but nope it's not working
Try to restore original .htaccess
files by copying or git reset
instead of editing and re-run all relevant command, like static content deploy, reindexing etc after that.
I have run the magento setup:static-content:deploy []
because the language of the website (all folders it_IT were gone):
the situation now is that the backend is working but not the css in the frontend
... deploy it_IT
Try switching to en_US as it_IT does not belong to this repo anyway.
What did you try to achieve by changing .htaccess
by the way?
For the sake of clean bug report, please do a clean Magento 2 installation and perform necessary steps in order to reproduce a bug, then please put an updated version of steps into description.
The changes in the .htaccess are needed due to a configuration compatibility with our Apache server: in the previous Magento 1.9x .png files were not visible if this action was not performed.
Thank you Enrico
@enrybisco, thank you for your report. We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
Preconditions
Steps to reproduce
Expected result
Actual result