Hello, I'm jsut installing Gallery2 full pack.
All my gallery settings are good except the last one:
Initial User Synchronization
When I click on "Sync users/groups" or "Skyp sync", I have this:
Forbidden
You don't have permission to access /.htaccess/index.php on this server.
But it's in all my website in fact....
After studies:
The addind codes into my .htacess is:
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
RewriteEngine On
RewriteBase /.htaccess/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/.htaccess/index\.php$
RewriteRule . - [L]
RewriteCond %{THE_REQUEST} /.htaccess/d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/.htaccess/index\.php$
RewriteRule . /sites/all/modules/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /.htaccess/v/([^?]+)\.davmount(\?.|\ .)
RewriteCond %{REQUEST_URI} !/.htaccess/index\.php$
RewriteRule . /.htaccess/index.php?q=gallery&g2_view=webdav.DownloadDavMount&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /.htaccess/w(/[^?]*)?(\?.|\ .)
RewriteCond %{REQUEST_URI} !/.htaccess/index\.php$
RewriteRule . /.htaccess/index.php?q=gallery&g2_controller=webdav.WebDav&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /.htaccess/v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/.htaccess/index\.php$
RewriteRule . /.htaccess/index.php?q=gallery&g2_path=%1 [QSA,L]
# END Url Rewrite section
If I take off the adding codes, my website works fine but Gallery settings are not set anymore...
I don't know what I have to do...
Any ideas?
Thanks^^
sorry for my english
Posts: 3
nobody?
Posts: 16503
First I think you're asking in the wrong forum. You don't mention what you are trying to sync. Joomla, Wordpress, etc.
Second, do you really have a directory named .htaccess on the server? If so, change it. Your server, like most, is probably configured to not allow people to view/download files named .htaccess and all I can see is problems if you have a directory named .htaccess
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
Im using Drupal, and no I don't have a directory named .htaccess... only files.
I'm using Gallery2 with the module gallery of Drupal, but unfortunatly I don't have any answers from the drupal forum.Maybe I have to wait more...
Posts: 16503
Sounds like something didn't go right for the integration. I've moved this thread to the Drupal specific forums for integration. I can only suggest reviewing these instructions:
http://codex.gallery2.org/Integration:Drupal
http://codex.gallery2.org/Integration:Drupal:Quick_Start
And maybe those listed here for Drupal: http://codex.gallery2.org/Integration
I've not done a Drupal integration before so I don't know.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here