index.php in file path

Discussion in 'Installation' started by aaforlando, Oct 2, 2013.

  1. aaforlando

    aaforlando New Member

    Joined:
    Sep 25, 2013
    Messages:
    1
    I'm having an issue with images and files (css, js) not being linked correctly in my admin after a fresh install (aMember Pro V:4.3.3)

    All image and file paths have 'index.php' inserted in the path and its breaking the admin.

    Example:
    /amember/index.php/application/default/views/public/css/amember.css


    Where can I go to remove the index.php that is being inserted?

    Thanks,
  2. natesreich

    natesreich New Member

    Joined:
    Sep 21, 2016
    Messages:
    2
    I am running Nginx as a reverse proxy for Apache and encountered the same issue.

    The fix was two-fold:

    1) Install mod rewrite from the instructions here. I was running the latest version of Apache, so also had to edit "apache2.conf" in /etc/apache2/ and set AllowOverride to "All".

    2) Edit nginx.conf to forward everything in the amember/ folder back to Apache.

    Now it's all working perfectly! :)
    caesar likes this.

Share This Page