chmod, ftmpeg and url rewrite??
squirrellydw
Joined: 2004-10-18
Posts: 53 |
Posted: Tue, 2005-08-23 14:10 |
Ok, I have installed G2 and everything seems to be working ok. I have 2 questions though. 1. When I chmod G2 to 755 do I do ALL the files in the directory or just the G2 folder? thanks Gallery URL (www.theseashore.us/gallery2): |
|
Posts: 16504
The only thing you should need to chmod for G2 is you g2data directory and it needs to be set to 777 (for most setups)
I know nothing about FFMPEG, but the url rewrite, Site Admin > Modules and install the URL Rewrite module. Now to configure it, make sure you have a .htacess file in your G2 installation directory can chmod it to at least 666 so the server can write to it.
Then go to Site Admin > URL Rewrite and well set it up if it passes all the tests. The interface is pretty straight forward.
Posts: 53
OK, the setup said chmod gallery to 755 and by accident I didht e whole directory, will that cause a problem, should I change everything back?
Thanks for the url help, I need to make the .htaccess file.
Posts: 16504
The only thing that needs to be 777 is g2data and the directories below it. The files need to be at least 666.
If all that stuff is now set to 755, it's generally easier to just set them all to 777 with:
chmod -R 777 g2data/