JosephSilber/page-cache

How to setup Cache on Cpanel?

hmzisb opened this issue · 0 comments

Can you help me with setting up page cache in Cpanel? Cpanel serves content from public_html by default so I am using this code to redirect all the requests to the public folder. The public_html contains all laravel content including Public folder.
I can't make the cache work. I added the code to both public and main folder htaccess.

Current htacess code I am using to redirect all requests
`
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]

`