Server IP : 103.53.40.154 / Your IP : 3.138.69.39 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /var/softaculous/ocportal/../less/../flat/../pimcore/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
RewriteEngine On RewriteRule ^(.*)$ public/$1 # ASSETS: check if request method is GET (because of WebDAV) and if the requested file (asset) exists on the filesystem, if both match, deliver the asset directly RewriteCond %{REQUEST_METHOD} ^(GET|HEAD) RewriteCond [[softpath]]/public/var/assets%{REQUEST_URI} -f RewriteRule ^(.*)$ /var/assets%{REQUEST_URI} [PT,L] # Thumbnails RewriteCond %{REQUEST_URI} .*/(image|video)-thumb__[\d]+__.* RewriteCond [[softpath]]/public/var/tmp/thumbnails%{REQUEST_URI} -f RewriteRule ^(.*)$ /var/tmp/thumbnails%{REQUEST_URI} [PT,L] # static pages RewriteCond %{REQUEST_METHOD} ^(GET|HEAD) RewriteCond %{QUERY_STRING} !(pimcore_editmode=true|pimcore_preview|pimcore_version) RewriteCond [[softpath]]/public/var/tmp/pages%{REQUEST_URI}.html -f RewriteRule ^(.*)$ /var/tmp/pages%{REQUEST_URI}.html [PT,L]