Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to setup Cache on Cpanel? #94

Open
hmzisb opened this issue Jan 14, 2022 · 0 comments
Open

How to setup Cache on Cpanel? #94

hmzisb opened this issue Jan 14, 2022 · 0 comments

Comments

@hmzisb
Copy link

hmzisb commented Jan 14, 2022

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]

`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant