Home Forums Support Self-Host on Bluehost unable to install

This topic contains 1 reply, has 2 voices, and was last updated by  Hillel Coren 2 weeks, 2 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23945

    kdgonk
    Participant

    Hi there,

    I’ve upload all the code and when i want to install it just doesn’t work.
    even if i go into public file it shows 500 error.

    I saw someone else also has this and I’ve ask bluehost customer support to
    assist me and in the end it work and this is what he told me has been amended.
    “I have just updated permalink code on .htaccess file here: public_html/mywebsitedomain/ninja/public/.htaccess”

    here is the code which i got from the file

    <IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
    Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes…
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller…
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]

    # http://stackoverflow.com/a/20865084/497368
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # In case of running InvoiceNinja in a Subdomain like invoiceninja.example.com,
    # you have to enable the following line:
    # RewriteBase /
    </IfModule>

    <IfModule mod_headers.c>
    # Blocks Search Engine Indexing
    Header set X-Robots-Tag “noindex, nofollow”
    </IfModule>

    #23966

    Hillel Coren
    Keymaster

    Thanks for sharing the solution!

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

You must be logged in to reply to this topic.

Posted in: