problem in PHP website hosted by ISPConfig

Discussion in 'Installation/Configuration' started by shahad, Aug 5, 2020.

  1. shahad

    shahad New Member

    Hello
    I use "Ubuntu 18.04.4 LTS (Bionic Beaver)) ISPConfig 3.1.15p3"

    I just hosted my website on ISPCONFIG which is built using PHP but
    I am facing some configuration issue like modules were not loaded.
    When I visit the website link the login page will appear but once I try to log in it will show page not found (404 Error).
    I have check manually in code but all other URL showing same 404 not found error.
    Same code working in my localhost and at other demo server as well.

    any help please ?
    Thank you in advance
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Are the necessary PHP modules installed and activated?
    Look at the website log directory, examine files there to see error messages why it does not work. Website log directory is same level as web/. If in directory web/, do cd ../log to get there.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this an apache or nginx server?
     
  4. shahad

    shahad New Member

    nginx/1.14.0 (Ubuntu)
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you probably need some nginx rewrite rules. Nginx does not understand apache .htaccess files, soy ou have to rewrite the apache rules in the .htaccess file into nginx syntax and put them in the nginx directives field of the website in ISPConfig.
     
  6. shahad

    shahad New Member

    Thank you for your reply

    if there is any tutorials to do that it will be appreciated. I'm a beginner in this field.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You can find instructions in the Nginx documentation. The actual rules depend completely on your website and the used CMS, so that's not ISPConfig related or specific to ISPConfig. Which CMS do you use?
     

Share This Page