Thanks I use ngnix+apache as my httpd server indeed ,htaccess file locates under root fold of zenphtoto and rewrite function for each images does not work for now and it turns into 404 error. The album shows normally and big images on colorbox windows could show also but image pages can not show.
Thanks acrylian I use apache and nginx togather. Apache is for php scripts and nginx is for static files. And it seems hataccess partly works as my post before
Ah, ok, didn't know that is possible at all. Our own server is completely nginx and our team member running it for us setup the post above because of that. I fear I cannot help …
Comments
zenphoto.org runs on nginx.
I have a live site running on nginx and mod-rewrite works just fine.
I use ngnix+apache as my httpd server indeed ,htaccess file locates under root fold of zenphtoto and rewrite function for each images does not work for now and it turns into 404 error. The album shows normally and big images on colorbox windows could show also but image pages can not show.
please give me more hints
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^.*/?$ index.php [L,QSA]
</IfModule>
http://../admin work
http://../gallery1 work
http://../gallery1/image1.jpg.html didn't work
I use apache and nginx togather. Apache is for php scripts and nginx is for static files.
And it seems hataccess partly works as my post before