HEX
Server: Apache/2.4.46 (Ubuntu)
System: Linux localhost 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64
User: root (0)
PHP: 7.4.16
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/sarvodayahospital/.htaccess_backup
<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes
    </IfModule>

    RewriteEngine On

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]
    
    # Server
    RewriteCond %{HTTP_HOST} !=""
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{HTTPS}s ^on(s)|
    RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    # Send Requests To Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
    
    # Redirect All Unknown Page To Doctor Master Page
    RedirectMatch 301 ^/doctorpage_video_booking/.*$ https://www.sarvodayahospital.com/doctors
    
</IfModule>

# <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>

# # Leverage Browser Caching
# <IfModule mod_expires.c>
#   ExpiresActive On
#   ExpiresByType image/jpg "access 1 year"
#   ExpiresByType image/jpeg "access 1 year"
#   ExpiresByType image/gif "access 1 year"
#   ExpiresByType image/png "access 1 year"
#   ExpiresByType text/css "access 1 month"
#   ExpiresByType text/html "access 1 month"
#   ExpiresByType application/pdf "access 1 month"
#   ExpiresByType text/x-javascript "access 1 month"
#   ExpiresByType application/x-shockwave-flash "access 1 month"
#   ExpiresByType image/x-icon "access 1 year"
#   ExpiresDefault "access 1 month"
# </IfModule>

# <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>

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