I checked that mod_rewrite is loaded using phpinfo
On the gallery2 page http://codex.gallery2.org/Gallery2:Modules:rewrite I found that I should add the line:
Code: Select all
<Directory /full/path/to/gallery2>
AllowOverride FileInfo Options
</Directory>Oeps! I get an internal server error
Here I am at a point where I don't have a clue what could be wrong. Anyone any suggestions what to do?
This is what my apache error-log says:
If I remove this line from my 00_default_ssl_vhost.conf I get the following error when I access the plugins/rewrite page on my Gallery2 site ("URL Rewrite Setup"). The page detects that mod_rewrite is not working and it results in a similar entry in my apache error-log:[Wed Oct 08 23:15:09 2008] [alert] [client ip-address] /var/www/myvhost.mydomain.com/htdocs/gallery/.htaccess: deny not allowed here, referer: https://myvhost.mydomain.com/main.php?g ... =xdd972e49
This is how my 00_default_ssl_vhost.conf looks like:[Wed Oct 08 23:19:29 2008] [alert] [client ip-address] /var/www/myvhost.mydomain.com/htdocs/gallery/.htaccess: deny not allowed here, referer: https://myvhost.mydomain.com/main.php?g ... =xdd972e49
Code: Select all
<VirtualHost myserver-ip-address:443>
Serveradmin webmaster@mydomain.com
Documentroot /var/www/myvhost.mydomain.com/htdocs/gallery
Servername myvhost.mydomain.com
Serveralias myvhost
SSLEngine on
SSLCertificateKeyFile /etc/apache2/ssl/myvhost.server.key
SSLCertificateFile /etc/apache2/ssl/myvhost.server.crt
SSLOptions StrictRequire
SSLProtocol all -SSLv2
ErrorLog logs/gallery2-error_log
CustomLog logs/gallery2-access_log common
<Directory "/var/www/myvhost.mydomain.com/htdocs/gallery">
SSLRequireSSL
Options -Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
# AllowOverride FileInfo Options
</Directory>
<IfModule itk.c>
AssignUserID apache apache
MaxClientsVHost 50
</IfModule>
</Virtualhost>

