Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 10.10

Discussion in 'HOWTO-Related Questions' started by SamTzu, Nov 25, 2010.

  1. SamTzu

    SamTzu Member HowtoForge Supporter

    There seems to be something wrong/missing with the nginx configuration file.

    First page of the Joomla site works fine but all the other pages get
    404 Not Found
  2. SamTzu

    SamTzu Member HowtoForge Supporter

    Joomla SEO

    Looks like it's a SEO issue. I'm wondering if anyone has a working solution for Joomla's Apache mod_rewrite or .htaccess settings?
  3. SamTzu

    SamTzu Member HowtoForge Supporter

    Almost solved it.

    With this nginx config I can have nearly the same functionality than with apache mod_rewrite and .htaccess combination. (+Joomla SEO)

    Problem is some components that use 'home' directory feel it is in the wrong place...

    Here is the nginx config.

    I can't find that home path defined anywhere.
    Maybe it's nginx default?
    Last edited: Nov 25, 2010
  4. SamTzu

    SamTzu Member HowtoForge Supporter

    Edit: Looks like this was DNS issue. Forget it... :)

    My excursion with nginx has run in to a new difficulty.
    So far we have redirected many sites that come with different domain names (.org .net .info etc.) to the main domain site by using ISPConfig's site/option page's handy apache form.

    It seems though that if traffic is redirected to a nginx server this will stop working.

    hmm... How to overcome the problem?

    This is the type of code we have been using to do the redirecting...

    Last edited: Nov 26, 2010
  5. falko

    falko Super Moderator ISPConfig Developer

  6. SamTzu

    SamTzu Member HowtoForge Supporter

    Actually my config above works quite well with Joomla SEO. Only thing still unclear is how to define the 'home' directory that nginx seems to look for.

Share This Page