Welcome! Log In Create A New Profile

Advanced

Re: Gallery 3.0.4 on nginx

Marcin \"WMP\" Janowski
August 13, 2012 09:52AM
And on other links on gallery3/ (eq: gallery3/user_profile/show/2 or
gallery3/logout) i have 404.

2012/8/13 Marcin "WMP" Janowski <janowski.m@gmail.com>:
> Hello, i cant run gallery3 on ongix. Now i use this configure:
>
> server {
> listen (...);
> server_name *.wmp.(...) wmp.(...);
>
> access_log /home/wmp/www/wmp.(...)/logs/access.log;
> error_log /home/wmp/www/wmp.(...)/logs/error.log;
>
> root /home/wmp/www/wmp.(...)/htdocs;
> index index.php index.html;
> autoindex off;
>
> location /gallery3 {
> if_modified_since off;
> add_header Last-Modified "";
> fastcgi_index index.php;
> fastcgi_split_path_info ^(.+.php)(.*)$;
> index index.php;
> if (-f $request_filename) {
> expires max;
> break;
> }
> if (!-e $request_filename) {
> rewrite ^/gallery3/index.php/(.+)$
> /gallery3/index.php?kohana_uri=$1 last;
> }
> }
>
> location ~ \.php$ {
> include /etc/nginx/fastcgi_params;
> fastcgi_index index.php;
> fastcgi_pass unix:/var/run/nginx/wmp.php-fpm.socket;
> fastcgi_param SCRIPT_FILENAME
> $document_root$fastcgi_script_name;
> }
> }
>
> This is my files in htdocs/gallery3:
> $ ls htdocs/gallery3/
> LICENSE README application index.php installer lib modules
> php.ini robots.txt system themes var
> $
>
> On this configure i have 404 on css and JS files on gallery3/combined.
> --
> Marcin Janowski(WMP)



--
Marcin Janowski(WMP)

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

Gallery 3.0.4 on nginx

Marcin \"WMP\" Janowski August 13, 2012 09:50AM

Re: Gallery 3.0.4 on nginx

Marcin \"WMP\" Janowski August 13, 2012 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 178
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