L
L
leha782016-08-11 14:38:38
Apache HTTP Server
leha78, 2016-08-11 14:38:38

How to properly set the path in htaccess?

There is a folder for storing storage files. The
paths to the files are specified like this
site.com/storage/cache/1/NmHRL6jWiDKgLEkuwGWHUEGsO...
But in fact the file is located here /storage/web/source/1/NmHRL6jWiDKgLEkuwGWHUEGsOKR2duWI.png
How to configure htaccess correctly like this so that the path on the site remains the same, but that the file is taken from the above specified folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2016-08-14
@shambler81

it is better to do it in nginx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question