Welcome! Log In Create A New Profile

Advanced

gallery3 configuration

Posted by dty 
dty
gallery3 configuration
June 22, 2012 06:40PM
Hi,

I've Googled extensively, and tried many, MANY suggestions, but nothing seems to work for me. I'm trying to set up Gallery3 3.0.4 on Nginx 1.2.1 with PHP-FPM 5.3.6.

I'm trying to get it running at the root of the server (e.g. pics.xyz.com not www.xyz.com/gallery3).

The furthest I've got is that when I hit the root, I get redirected to /installer; but that results in a 403 page.

I've even tried all the examples I can find that use horrible 'if' syntax, and STILL can't get even the first page to show. :-(

Here's the rewrite rules from .htaccess from Gallery3:


# <IfModule mod_rewrite.c>
# Options +FollowSymLinks
# RewriteEngine On
# RewriteBase /
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
# RewriteRule ^index.php/(.*) $1 [QSA,R,L]
# </IfModule>

Can anyone help me get this working on Nginx, ideally using try_files.

Thanks,

Danny.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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