AnonSec Shell
Server IP : 198.244.165.102  /  Your IP : 216.73.216.218   [ Reverse IP ]
Web Server : nginx/1.24.0
System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : colleary ( 1011)
PHP Version : 8.3.23
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/aimepos/public_html/plantsdepot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/aimepos/public_html/plantsdepot//.htaccess
# Define some error documents
ErrorDocument 401 "Access Forbidden"
ErrorDocument 403 /error_document?code=403
ErrorDocument 404 /error_document?code=404
ErrorDocument 410 /error_document?code=410
ErrorDocument 500 "Internal Server Error"

# Deny showing indexes for directory content - Uncomment if supported by you web host
#Options -Indexes

# URL-rewriting
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Tell PHP that the mod_rewrite module is enabled
  <IfModule mod_env.c>
    SetEnv HTTP_MOD_REWRITE On
  </IfModule>

  # Redirect from any alias domain to primary domain
  #RewriteCond %{HTTP_HOST} !^www\.mydomain\.com
  #RewriteCond %{REQUEST_METHOD} !=POST
  #RewriteRule ^ http://www.mydomain.com%{REQUEST_URI} [R=301,L]

  # Redirect non-www to www
  #RewriteCond %{HTTP_HOST} !^www\.
  #RewriteCond %{REQUEST_METHOD} !=POST
  #RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

  # Force HTTPS (Standard SSL)
  RewriteCond %{HTTPS} off
  RewriteCond %{REQUEST_METHOD} !=POST
  RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

  # Force HTTPS (CloudFlare Flexi SSL / Load Balancing Servers)
  #RewriteCond %{HTTP:X-Forwarded-Proto} =http
  #RewriteCond %{REQUEST_METHOD} !=POST
  #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

  # Web path to catalog root
  RewriteBase /

  # No rewrite logic for physical files
  RewriteCond %{REQUEST_FILENAME} -d [OR]
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -l
  RewriteRule ^ - [L]

  RewriteRule ^.*$ index.php?%{QUERY_STRING} [L]
</IfModule>

# Deny access to content
<FilesMatch "\.(htaccess|htpasswd|inc\.php)$">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order Deny,Allow
    Deny from all
  </IfModule>
</FilesMatch>

# Cacheable external content
<IfModule mod_headers.c>
  <FilesMatch "\.(gif|ico|jpg|jpeg|js|pdf|png|ttf)$">
    Header set Cache-Control "max-age=604800, public, must-revalidate"
  </FilesMatch>

  <FilesMatch "\.(css)$">
    Header set Cache-Control "max-age=86400, public, must-revalidate"
  </FilesMatch>
</IfModule>

# GZip compress external content
<IfModule mod_deflate.c>
  <FilesMatch "\.(css|js)$">
    SetOutputFilter DEFLATE
  </FilesMatch>
</IfModule>

# Protect catalog using admin .htpasswd, handy for development platforms
#<IfModule mod_auth.c>
#  AuthType Basic
#  AuthName "Restricted Area"
#  AuthUserFile "C:/xampp/htdocs/plantsdepot/admin/.htpasswd"
#  Require valid-user
#</IfModule>
#<IfModule mod_auth_basic.c>
#  AuthType Basic
#  AuthName "Restricted Area"
#  AuthUserFile "C:/xampp/htdocs/plantsdepot/admin/.htpasswd"
#  Require valid-user
#</IfModule>

Anon7 - 2022
AnonSec Team