It happend 2 times, that 1 could not access anything with a fresh installation, after I activated the rewrite module. It is on a VPS and I have root permissions.
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . - [L]
RewriteCond %{THE_REQUEST} /d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/main\.php$
RewriteRule . /main.php?g2_path=%1 [QSA,L]
</IfModule>
# END Url Rewrite section
ll .htaccess
-rw-rw-rw- 1 root root 781 2009-09-10 22:07 .htaccess
Posts: 193
Can anyone help me please? I get crazy with this. I did new installs again and again and it is always the same. My first change after the installation is the activation of rewrite. After setting .htaccess to 666. Gallery says everything is ok. It says rewrite is activated on the top and then I cannot acces anything.
I have a working gallery on the same system. I tried to exchange the .htaccess-file, replacing the domain-name and I could access again the top-page, but no other page. Afterward I tried to save the rewrite-configuration with menu I can't access anything.
Posts: 16503
This has to be a server config issue, because it just works on shared hosts. Heck it just works on my Debian server where I've just installed MySQL, Apache, PHP, etc via apt-get and everything just works
Are you sure your server is configured to support rewriting?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here