403Webshell
Server IP : 94.136.191.34  /  Your IP : 216.73.216.25
Web Server : Apache
System : Linux hostpanel.netbiz.in 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64
User : omkar.com_6nnuz6y629h ( 10087)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,proc_open,popen
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  /var/www/vhosts/omkar.com/httpdocs/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/omkar.com/httpdocs/.htaccess.bak
# ---------- /var/www/vhosts/omkar.com/httpdocs/.htaccess (CodeIgniter 3) ----------
# Why: Allow .php and .html normally; route non-existent paths to index.php;
#      avoid MultiViews side-effects that can cause 403/404.

Options -Indexes -MultiViews

<IfModule mod_rewrite.c>
  RewriteEngine On
  
  # If the app is in a subfolder, set the base (e.g. /app/)
  # RewriteBase /

  # Serve existing files/dirs directly (robots.txt, sitemap.xml, .html, .php)
  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^ - [L]

  # Otherwise route to front controller
  RewriteRule ^(.*)$ index.php/$1 [L,QSA]
</IfModule>

# If an upper-level config accidentally denies PHP, re-allow here.
<IfModule mod_authz_core.c>
  <FilesMatch "\.(php|phtml)$">
    Require all granted
  </FilesMatch>
</IfModule>

# Basic hardening for sensitive files
<FilesMatch "^(\.env|composer\.(json|lock)|package\.json|webpack\.mix\.js|readme\.md|license\.txt)$">
  Require all denied
</FilesMatch>


# ---------- Apache vHost snippet (Plesk > Apache & nginx Settings > Additional Apache directives) ----------
# Ensure Apache 2.4 authz allows access and that .htaccess is honored.
# Mirror this block for :443 if using HTTPS.
<Directory "/var/www/vhosts/omkar.com/httpdocs">
  Options FollowSymLinks
  AllowOverride All
  Require all granted
</Directory>

# If you previously added a global PHP deny like: <FilesMatch "\\.(php)$">Require all denied</FilesMatch>
# remove it or scope it away from /httpdocs.


Redirect 301 /blogs/kamal-gupta-and-babulal-verma-owner-of-omkar-realtors-developers /blogs/babulal-verma-owner-of-omkar-realtors-developers
Redirect 301 /blogs/owner-of-omkar-realtors-kamal-gupta-and-babulal-verma /blogs/owner-of-omkar-realtors-babulal-verma
Redirect 301 /infographics/mumbai_infographic /infographics
Redirect 301 /home/residential_ongoing_projects /ongoing-residential-projects-mumbai
Redirect 301 /ongoing-residential-projects-mumbai/the-bliss-collection /ongoing-residential-projects-mumbai
Redirect 301 /home/media /press-media
Redirect 301 /blogs/reasons-why-you-should-consider-buying-a-flat-omkar-realtors	/blogs/reasons-why-you-should-consider-buying-a-flat-in-omkar-realtors
Redirect 301 /blogs/omkar-realtors-your-new-world-of-luxury-goes-beyond-ordinary	/blogs/omkar-realtors-your-new-world-of-luxury-that-goes-beyond-the-ordinary
Redirect 301 /blogs/why-investing-omkar-signet-malad-east-a-smart-decision	/blogs/why-investing-in-omkar-signet-malad-east-is-a-smart-decision
Redirect 301 /blogs/experience-convenience-and-ethereal-beauty-at-your-doorstep-omkar-alta-monte	/blogs/experience-convenience-and-ethereal-beauty-at-your-doorstep-with-omkar-alta-monte
Redirect 301 /blogs/top-amenities-make-omkar-alta-monte-stand-out-from-other-residential-projects	/blogs/top-amenities-that-make-omkar-alta-monte-stand-out-from-other-residential-projects
Redirect 301 /blogs/omkar-signet-connectivity-to-major-hubs-mumbai	/blogs/omkar-signet-connectivity-to-major-hubs-in-mumbai
Redirect 301 /blogs/omkar-realtors-owner-babulal-varma-s-vision-for-future-of-real-estate	/blogs/omkar-realtors-owner-babulal-varmas-vision-for-the-future-of-real-estate
Redirect 301 /blogs/babulal-varma-impact-on-mumbai-redevelopment-as-owner-of-omkar-realtors	/blogs/babulal-varmas-impact-on-mumbais-redevelopment-as-the-owner-of-omkar-realtors
Redirect 301 /blogs/omkar-signet-malad-east-well-appointed-1-and-2-bedroom-boutique-apartments	/blogs/omkar-signet-malad-east-well-appointed-1-2-bedroom-boutique-apartments
Redirect 301 /blogs/omkar-realtors-success-delivering-3-000-sra-homes-bhoiwada-transforming-lives-mumbai	/blogs/omkar-realtors-success-in-delivering-3000-sra-homes-in-bhoiwada-transforming-lives-in-mumbai
Redirect 301 /blogs/embrace-an-unparalleled-lifestyle-sure-to-exceed-your-expectations-omkar-group	/blogs/embrace-an-unparalleled-lifestyle-that-is-sure-to-exceed-your-expectations-with-omkar-group
Redirect 301 /blogs/creating-your-dream-lifestyle-all-inclusive-experience-of-omkar-signet	/blogs/creating-your-dream-lifestyle-the-all-inclusive-experience-of-omkar-signet
Redirect 301 /blogs/omkar-alta-monte-where-luxury-meets-splendor-of-nature-malad-east	/blogs/omkar-alta-monte-where-luxury-meets-the-splendor-of-nature-in-malad-east
Redirect 301 /blogs/redefining-mumbai-s-skyline-world-s-tallest-sra-towers-by-omkar-realtors	/blogs/redefining-mumbais-skyline-worlds-tallest-sra-towers-by-omkar-realtors
Redirect 301 /blogs/omkar-realtors-redefining-real-estate-a-holistic-living-experience	/blogs/omkar-realtors-redefining-real-estate-with-a-holistic-living-experience

<IfModule mod_speling.c>
CheckSpelling on
</IfModule>

<IfModule mod_expires.c>
	ExpiresActive on
	#ExpiresDefault "access plus 1 month"

	# cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5)
	ExpiresByType text/cache-manifest "access plus 0 seconds"

	# Your document html
	ExpiresByType text/html "access plus 0 seconds"

	# Data
	ExpiresByType text/xml "access plus 0 seconds"
	ExpiresByType application/xml "access plus 0 seconds"
	ExpiresByType application/json "access plus 0 seconds"

	# Feed
	ExpiresByType application/rss+xml "access plus 1 hour"
	ExpiresByType application/atom+xml "access plus 1 hour"

	# Favicon (cannot be renamed)
	ExpiresByType image/x-icon "access plus 1 week"

	# Media: images, video, audio
	ExpiresByType image/gif "access plus 4 months"
	ExpiresByType image/png "access plus 4 months"
	ExpiresByType image/jpeg "access plus 4 months"
	ExpiresByType image/webp "access plus 4 months"
	ExpiresByType video/ogg "access plus 4 months"
	ExpiresByType audio/ogg "access plus 4 months"
	ExpiresByType video/mp4 "access plus 4 months"
	ExpiresByType video/webm "access plus 4 months"

	# HTC files (css3pie)
	ExpiresByType text/x-component "access plus 1 month"

	# Webfonts
	ExpiresByType font/ttf "access plus 4 months"
	ExpiresByType font/otf "access plus 4 months"
	ExpiresByType font/woff "access plus 4 months"
	ExpiresByType font/woff2 "access plus 4 months"
	ExpiresByType image/svg+xml "access plus 1 month"
	ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
	ExpiresByType application/pdf "access plus 1 month"

	ExpiresByType text/x-javascript "access plus 1 year"
	ExpiresByType application/x-shockwave-flash "access plus 1 month"

	ExpiresDefault "access plus 2 days"

	# CSS and JavaScript
	ExpiresByType text/css "access plus 1 year"
	ExpiresByType application/javascript "access plus 1 year"
</IfModule>

#Compress components with gzip

<ifModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>


# Or, compress certain file types by extension:
# Enable Compression
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
</IfModule>

<files *.html>
	SetOutputFilter DEFLATE
</files>
<files *.php>
	SetOutputFilter DEFLATE
</files>



# Leverage browser caching using mod_headers #

<IfModule mod_headers.c>
  <filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$">
  Header set Cache-Control "max-age=2678400, public"
  </filesmatch>
  <filesmatch "\.(html|htm)$">
  Header set Cache-Control "max-age=7200, private, must-revalidate"
  </filesmatch>
  <filesmatch "\.(pdf)$">
  Header set Cache-Control "max-age=86400, public"
  </filesmatch>
  <filesmatch "\.(js)$">
  Header set Cache-Control "max-age=2678400, private"
  </filesmatch>
</IfModule>
# End of Leverage browser caching using mod_headers #


Youez - 2016 - github.com/yon3zu
LinuXploit