Dragonfruit
Chevereto Noob
🎯Description of the issue
I'm trying to prevent external users from using the uploader since SSO does not exist. What I've done is enabled guest uploading, but I'm trying to restrict access to the image page unless they launched the image uploader via the XF board.
Unfortunately when I add the usual HTACCESS bit of rewrite code which I've used to accomplish this with other custom pages, it breaks display functions for Chevereto.
▶🚶Reproduction steps
With this in place, trying to reach mydomain.com kicks me back to the home page just fine. But clicking "Image Upload", shows basically Chevereto with the theme stripped.
Is there any way to accomplish this while cooperating with the existing HTAccess code?
📃Error log message
No error messages.
I'm trying to prevent external users from using the uploader since SSO does not exist. What I've done is enabled guest uploading, but I'm trying to restrict access to the image page unless they launched the image uploader via the XF board.
Unfortunately when I add the usual HTACCESS bit of rewrite code which I've used to accomplish this with other custom pages, it breaks display functions for Chevereto.
▶🚶Reproduction steps
- Add this code in htaccess (have tried at the top, bottom, and within IfModule mod_rewrite.c in multiple places:
Code:
RewriteEngine onRewriteCond %{HTTP_REFERER} !https://mydomain.com/.*$ [NC] RewriteRule . home.php [NC,L]
With this in place, trying to reach mydomain.com kicks me back to the home page just fine. But clicking "Image Upload", shows basically Chevereto with the theme stripped.
Is there any way to accomplish this while cooperating with the existing HTAccess code?
📃Error log message
No error messages.
Last edited: