Viewing File: /home/assersoft/public_html/demo/audiogramApi/.htaccess

# RewriteEngine On
# RewriteBase /demo/audiogramApi/

# # If the file does not exist, serve the request to `index.php`
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^ index.php [L]

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /demo/audiogramApi/

    # Redirect to index.php if the requested file or directory doesn't exist
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Rewrite all other URLs to index.php
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
Back to Directory File Manager