Home Forums Support Installation error

This topic contains 11 replies, has 2 voices, and was last updated by  Anonymous 3 years, 3 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2071

    Anonymous

    I am trying to install invoiceninja on my ubuntu vps. I am running apache with varnish. I have done all the steps from the official tutorial, i have tried the git version using composer but still when i go to ninja.domain.com/setup/ it redirects me to ninja.domain.com// and there are listed all the invoiceninja files. Can someone help me?

    #2072

    Hillel Coren
    Keymaster

    Try ninja.domain.com/public/setup

    If it works you can try removing /public by uncommenting a line in the .htaccess file.

    #2073

    Anonymous

    Thanks. I want to remove the public but there is no line in .htaccess that has the “public” word.

    #2074

    Anonymous

    # Remove index.php
    RewriteEngine on
    Redirect /setup http://ninja.domain.com/
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule . index.php [L]

    # Enable the following if you want to force HTTPS access:
    #RewriteCond %{SERVER_PORT} 80
    #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]

    #2075

    Hillel Coren
    Keymaster

    Check you’re looking at the .htaccess file in the root of the folder, not the one in public/

    #2076

    Hillel Coren
    Keymaster

    Also, you’ll likely need to remove Redirect /setup http://ninja.domain.com/

    #2077

    Anonymous

    I am not sure if i understand it right. I have a virtualhost with the subdomain. There is only one .htaccess at the root and its the one i wrote above. Sorry if i am not understanding.

    #2078

    Hillel Coren
    Keymaster
    #2079

    Anonymous

    Thanks. Should i add what it contains to the .htaccess i mentioned above?

    #2080

    Hillel Coren
    Keymaster

    No, I don’t think that’s likely to help.

    #2081

    Anonymous

    I think i got it right, so after i install the app, the .htaccess will be changed to the one you mentioned? I am not sure where to find the file you posted.

    #2082

    Anonymous

    I fixed everything. thank you for your support! 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Posted in: