Issues after moving to new server
shrnky
Joined: 2011-12-03
Posts: 6 |
Posted: Mon, 2013-11-11 14:30 |
Moved my Gallery installation to a new server. The file and database move worked great, but now I seem to have a path, dns, and/or permissions issue that I can't shake out. If you use the full path using the ip address as in the link below, everything shows up. I've put a copy of my apache2 virtual host config for the site below. <VirtlHost *:80> Figured out that Apache's rewrite module was not enabled. In Ubuntu ran the command "a2enmod rewrite" then restarted apache "service apache2 restart" |
|
Posts: 27300
Looks like it to me:
http://www.theriot.mobi/var/albums/Pellerins/01.jpg
show that to your host and they should be able to sort it out.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
FYI, I am the admin. It's a Digital Ocean VPS.
Changed the permissions on that folder and contents to 777, but still get the same "403 Forbidden" error.
Any ideas?
Posts: 27300
Not from me. Perhaps a server expert can chime in.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8339
your php files cannot be 777 or your server won't execute them. they need to be 755 or below.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 6
My php files weren't, just the folder with the pictures in them.
Posts: 6
Looked at the log files and I'm getting the error when trying to access files:
"client denied by server configuration: /var/www/theriot.mobi/public_html/gallery3/var/thumbs/Pellerins/03.jpg"
Posts: 1857
I'm late to this and not sure if you're still working on it.
That error could be caused by a lot of things.
I'd say first look through the htaccess files that are being applied. Then look through server files and settings.
Could be a <filematch> or <directory> setting, or any of a handful of other things.
Posts: 1
The problem could be mod_evasive. You might get too many false positives, especially with AJAX. Disabled it and see. Could also be an invalid V host config.