Russ Posted May 8, 2006 Share Posted May 8, 2006 I am configuring a Word press plug-in. In order for it to work properly, the pertinent .htaccess file must be writable. The support forum for the plug-in indicates: Depends on how you are running php.. PHP standalone you need to make it 666 however for CGI:PHP you would use 644. I presumed the php is not stand alone since it is on the tch Server; however, with 644, validatiion fails; with 666 validation works. Does this make sense? I would prefer not to have the file to be "world" writable. Quote Link to comment Share on other sites More sharing options...
chatbug Posted May 8, 2006 Share Posted May 8, 2006 (edited) Hmmm.... what plugin is this that requires constant modification of .htaccess? So far, I've been either modifying .htaccess by myself, or changing permission only when required. Edited May 8, 2006 by chatbug Quote Link to comment Share on other sites More sharing options...
Russ Posted May 8, 2006 Author Share Posted May 8, 2006 Hmmm.... what plugin is this that requires constant modification of .htaccess? So far, I've been either modifying .htaccess by myself, or changing permission only when required. WPG2 - Embeds G2 into WP. Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted May 8, 2006 Share Posted May 8, 2006 Could you also provide the link to the page which states this htaccess setting? I seem unable to find it at that website, although I am sure its there JimE Quote Link to comment Share on other sites More sharing options...
Russ Posted May 8, 2006 Author Share Posted May 8, 2006 Could you also provide the link to the page which states this htaccess setting? I seem unable to find it at that website, although I am sure its there JimE That page does not specifically go into the .htaccess settings. When I was validating the plug in in WP per the installation instructions (here is link to installation/configuration instructions), the instructions during the validation process told me to chmod .htaccess to 644, and if that didn't cause a successful validation, then to chmod .htaccess to 666 . I questioned this on the plug-in's support forum...here is a link to my original post and the responses. Note, the response links to a WP page that suggests .htaccess need to be writeable. Hope that helps. Thank you. Russ Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted May 8, 2006 Share Posted May 8, 2006 Russ the .htaccess file only needs to be set to writable during configuration. I have the plugin installed on a test site and it's working fine with the 644 permissions. Quote Link to comment Share on other sites More sharing options...
Russ Posted May 8, 2006 Author Share Posted May 8, 2006 (edited) Russ the .htaccess file only needs to be set to writable during configuration. I have the plugin installed on a test site and it's working fine with the 644 permissions. Thanks, Bruce. I cannot get the plug-in to validate in WP unless I set the permission to 666. Should I set to 666 and validate, then go back into cPanel and change to 664? Will the Gallery2 URL Rewrite Rules (whatever they are ) continue to workafter I reset the permission to 664? Under what circumstances will I need (if ever) to change the perimssions to 666 again? Bruce, I appreciate you help on this. Sorry if my questions are basic. Edited May 8, 2006 by Russ Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted May 8, 2006 Share Posted May 8, 2006 The .htaccess file must be writable while you are installing the plugin. This is not uncommon for some PHP programs or plugins. Once you have the plugin installed and working you can change the permissions back to 644. I installed the plugin a long time ago so I don't remember but once active and validated and working changing it will have no effect. When WP upgrades they usually make you change the .htaccess file for mod-rewrites. I change my .htaccess permissions, apply the changes and change the permissions back. Quote Link to comment Share on other sites More sharing options...
Russ Posted May 8, 2006 Author Share Posted May 8, 2006 The .htaccess file must be writable while you are installing the plugin. This is not uncommon for some PHP programs or plugins. Once you have the plugin installed and working you can change the permissions back to 644. I installed the plugin a long time ago so I don't remember but once active and validated and working changing it will have no effect. When WP upgrades they usually make you change the .htaccess file for mod-rewrites. I change my .htaccess permissions, apply the changes and change the permissions back. Thanks, Bruce! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.