I setup a vps(Opensuse 11.1) and think there is a problem with the apache configuration, since mod_rewrite is not detected.
Quote:
Gallery tries to test mod_rewrite in action. For this to work you need to edit each of these two files accordingly:
/srv/www/htdocs/g2dir/modules/rewrite/data/mod_rewrite/custom/.htaccess
Line 6: RewriteBase /modules/rewrite/data/mod_rewrite/custom/
/srv/www/htdocs/g2dir/modules/rewrite/data/mod_rewrite_no_options/custom/.htaccess
Line 6: RewriteBase /modules/rewrite/data/mod_rewrite_no_options/custom/
I edited and tested manually, but it didn't help
Quote:
/etc/sysconfig/apache2
APACHE_CONF_INCLUDE_FILES=""
APACHE_CONF_INCLUDE_DIRS=""
APACHE_MODULES="authz_host actions alias auth_basic authz_groupfile authn_file authz_user autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imagemap rewrite vhost_alias php5 authz_default"
APACHE_SERVER_FLAGS=""
APACHE_HTTPD_CONF=""
APACHE_MPM=""
APACHE_SERVERADMIN=""
APACHE_SERVERNAME=""
APACHE_START_TIMEOUT="2"
APACHE_SERVERSIGNATURE="on"
APACHE_LOGLEVEL="warn"
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"
APACHE_USE_CANONICAL_NAME="off"
APACHE_SERVERTOKENS="OS"
APACHE_EXTENDED_STATUS="off"
What could be missing, that rewrite works? Apache was restarted.
________________________________________________________
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.9 apache2handler
Webserver = Apache/2.2.10 (Linux/SUSE)
Database = mysqli 5.0.67, lock.system=flock
Toolkits =
Acceleration = none, none
Operating system = Linux vps 2.6.26-2-openvz-amd64 #1 SMP Fri Aug 14 08:15:13 UTC 2009 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.13) Gecko/2009080200 SUSE/3.0.13-0.1.2 Firefox/3.0.13
Rows in GalleryAccessMap table = 9
Rows in GalleryAccessSubscriberMap table = 1
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0
Posts: 193
Solved, htaccess did not work, because of the vhost setup.