Welcome! Log In Create A New Profile

Advanced

Re: Joomla CMS on Nginx (Rewrite/Environment Problem)

Anonymous User
February 04, 2014 09:33AM
Fixed. $live_site in joomlas config was empty, apache ignores that,
nginx not

Kind Regards
Simon

Am 2014-02-04 12:49, schrieb mailinglisten@simonhoenscheid.de:
> Hello List,
>
> I did a testmigration of a Joomla CMS yesterday, and there is a bug
> (the system was running on Apache before):
> There where no Apache rewrite rules on the old server.
> The Joomla Uses SEF (Search Engine Friendly URLs)
>
> OLD:
>
> http://www.example.com/pattern/article.html
>
> NEW:
>
> http://www.example.com/var/www/www.example.com/pattern/article
>
> The missing .html suffix is not a prob but the whole rootpath in the
> url is. Any ideas how to solve this?
>
> here is my server.conf for this host:
>
> server_name www.example.com example.com.com;
> server_name_in_redirect off;
> access_log /var/log/nginx/www.example.com-access.log combined;
> error_log /var/log/nginx/www.example.com-error.log notice;
> root /var/www/www.example.com;
> location / {
> try_files $uri $uri/ /index.php?$args;
> }
>
>
> location ~* \.php$ {
> fastcgi_index index.php;
> fastcgi_pass 127.0.0.1:9000;
> include fastcgi_params;
> fastcgi_param SCRIPT_FILENAME
> $document_root$fastcgi_script_name;
> fastcgi_param SCRIPT_NAME $request_filename;
> }
> }
>
> Thanks for your help
> Simon
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Joomla CMS on Nginx (Rewrite/Environment Problem)

Anonymous User February 04, 2014 09:33AM

Re: Joomla CMS on Nginx (Rewrite/Environment Problem)

Anonymous User February 04, 2014 09:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 274
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready