Gallery2 Permalinks (mod_rewrite) on ISPConfig with Multi-site installation
I have Gallery2 running with latest stable ISPConfig on Ubuntu 8.10-64 AMD. Everything works fantastic. Except that I want to enable permalinks for many reasons.
I downloaded and installed Gallery's Permalink plugin. The problem is that when I enable that plugin with any options checked, no web pages are found. But, if I clear all the options, save it, then things are back to normal.
This creates a .htaccess in /var/www/web9/web/gallery directory. The codebase is in /var/www/web2/web.
I'm not sure, but I think that with ISPConfig I need to add some sort of <Directory> directive in the Apache Directives Optional Screen for that web-site.
Anyone else run into this? What solutions worked for you?
BTW, here's the .htaccess file generated by Gallery2 Permalinks Plugin:
This rewrite code should work in a .htaccess file, no need to add it in the apache directives field. Is gallery2 installed directly in the "web" directory or in a subdirectory "web/gallery"? If its installed directly in the web directory, the line:
has to be:
Gallery is installed under web/gallery. Yeah, the re-write code looks fine, but it's not finding the pages when I have this file in place.
It's actually a bit weirder than that. Let's say I open the main gallery, it opens fine, but none of the pictures are displayed. When I look at their URL's they are indeed rewritten.
What's a good way to debug this?
|All times are GMT +2. The time now is 15:44.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.