Question: Issues With Installation

Issues With Installation

In your documentation a 404 /auth/login need to check for .htaccess but in installation files there is no htaccess

U

underscore

Asked
In your documentation a 404 /auth/login need to check for .htaccess
but in installation files there is no htaccess
  • U

    underscore

    Answered
    Now found .htaccess file, getting file not found
  • MS

    Mian Saleem

    Answered
    Hello,

    404 is mostly caused due to missing `.htaccess` file. Please double check your download file. The `.htaccess` file is included in your download. The dot files re hidden by default in linux/unix operating systems.

    You can create the `.htaccess` file in the main folder where you have upload the files with the following contents.

    ```
    DirectoryIndex index.php index.html

    <IfModule mod_rewrite.c>

    RewriteEngine On
    # RewriteBase /invoice/
    RewriteCond $1 !^(index\.php|assets|install|update)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # For godady Shared Hosting Server uncomment the line below
    # RewriteRule ^(.*)$ index.php?/$1 [L]

    # Please comment this if you have uncommented the above
    RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]

    </IfModule>

    ```

    If still same, please check that your mod_rewrite is enabled and configured to use the `.htaccess` file from site folder.

    Thank you
  • Login to Reply