RewriteEngine On

ErrorDocument 404 https://www.obhost.net/404.shtml
ErrorDocument 404 https://www.obhost.net/404.php
ErrorDocument 404 https://www.obhost.net/404.html

Redirect /linux-vps.php https://www.obhost.net/openvz-vps.html
Redirect /ca-linux-vps.php https://www.obhost.net/openvz-vps.html
Redirect /vps.php https://www.obhost.net/openvz-vps.html
Redirect /contact.php https://www.obhost.net/contact.html

Redirect /de-windows-vps.php https://www.obhost.net/kvm-vps.html
Redirect /po-windows-vps.php https://www.obhost.net/kvm-vps.html
Redirect /pk-windows-vps.php https://www.obhost.net/kvm-vps.html

Redirect /business-email.html https://www.obhost.net/business-email.php
Redirect /enterprise-email.html https://www.obhost.net/enterprise-email.php


Redirect /po-linux-vps.php https://www.obhost.net/kvm-vps.html
Redirect /de-linux-vps.php https://www.obhost.net/kvm-vps.html
Redirect /pk-linux-vps.php https://www.obhost.net/kvm-vps.html

Redirect /linux-vps-reseller.php https://www.obhost.net/reseller-vps.html
Redirect /storage-vps.php https://www.obhost.net/storage-vps.html

Redirect /dedicated-servers.html https://www.obhost.net/dedicated-servers.php

Redirect /domain-names.php https://www.obhost.net/domain-names.html

Redirect /website-hosting.php https://www.obhost.net/website-hosting.html
Redirect /business-hosting.php https://www.obhost.net/business-hosting.html
Redirect /premium-hosting.php https://www.obhost.net/premium-hosting.html
Redirect /reseller-hosting.php https://www.obhost.net/reseller-hosting.html
Redirect /index.php https://www.obhost.net/index.html

Redirect /game-servers.php https://www.obhost.net/game-servers.html
Redirect /voice-servers.php https://www.obhost.net/voice-servers.html
Redirect /login.php https://www.obhost.net/login.html
Redirect /register.php https://my.obhost.net/register.php

Redirect /clientarea.php https://my.obhost.net/clientarea.php
Redirect /ssl-certificates.php https://www.obhost.net/ssl-certificates

Redirect /cart.php https://my.obhost.net/cart.php

Redirect /serverstatus.php https://my.obhost.net/serverstatus.php

Redirect /announcements.php  https://my.obhost.net/announcements.php

Redirect /knowledgebase.php  https://my.obhost.net/knowledgebase.php

   

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 37.126.208.247
deny from 217.23.7.140
deny from 178.87.20.104
deny from 122.8.200.153
deny from 149.202.98.190  

<IfModule mod_expires.c>
  FileETag MTime Size
  AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
  ExpiresActive On
  ExpiresByType text/html "access 600 seconds"
  ExpiresByType application/xhtml+xml "access 600 seconds"
  ExpiresByType text/css "access 1 month"
  ExpiresByType text/javascript "access 1 month"
  ExpiresByType text/x-javascript "access 1 month"
  ExpiresByType application/javascript "access 1 month"
  ExpiresByType application/x-javascript "access 1 month"
  ExpiresByType application/x-shockwave-flash "access 1 month"
  ExpiresByType application/pdf "access 1 month"
  ExpiresByType image/x-icon "access 1 year"
  ExpiresByType image/jpg "access 1 year"  
  ExpiresByType image/jpeg "access 1 year"
  ExpiresByType image/svg "access 1 year"
  ExpiresByType image/png "access 1 year"
  ExpiresByType image/gif "access 1 year"
  ExpiresDefault "access 1 month"
</IfModule>

<IfModule mod_expires.c>
  <IfModule mod_headers.c>
    <filesMatch "\.(ico|jpe?g|png|gif|swf)$">
      Header append Cache-Control "public"  
    </filesMatch>
    <filesMatch "\.(css)$">
      Header append Cache-Control "public"
    </filesMatch>
    <filesMatch "\.(js)$">
      Header append Cache-Control "private"
    </filesMatch>
    <filesMatch "\.(x?html?|php)$">
      Header append Cache-Control "private, must-revalidate"
    </filesMatch>
  </IfModule>
</IfModule>

# Disable ETags
<IfModule mod_headers.c>
	Header unset ETag
</IfModule>
FileETag None

RewriteCond %{HTTP_HOST} ^obhost\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.obhost\.net$
RewriteRule ^/?$ "https\:\/\/www\.obhost\.net\/index\.html" [R=301,L]

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_value date.timezone "Asia/Karachi"
   php_flag display_errors Off
   php_value max_execution_time 200
   php_value max_input_time 9000
   php_value max_input_vars 1000
   php_value memory_limit 2048M
   php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
   php_value upload_max_filesize 10M
   php_value post_max_size 200M
   php_value session.gc_maxlifetime 1440
   php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
   php_value date.timezone "Asia/Karachi"
   php_flag display_errors Off
   php_value max_execution_time 200
   php_value max_input_time 9000
   php_value max_input_vars 1000
   php_value memory_limit 2048M
   php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
   php_value upload_max_filesize 10M
   php_value post_max_size 200M
   php_value session.gc_maxlifetime 1440
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
