trine Posted March 31, 2007 Share Posted March 31, 2007 Simple question ... but only the developer would know for sure... Can the admin directory be secured with http auth? Or, would that stop certain scripts from working properly? (Assuming we execute all crons with php, not wget or get). 0 Quote Link to comment Share on other sites More sharing options...
joe123 Posted April 1, 2007 Share Posted April 1, 2007 Simple answer your cron will not run 0 Quote Link to comment Share on other sites More sharing options...
xxkylexx Posted April 1, 2007 Share Posted April 1, 2007 I've heard the cron will still run. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted April 1, 2007 Author Share Posted April 1, 2007 One says yes, the other no ... hehehe ... this is exactly why I said ... and I quote " but only the developer would know for sure" It has more to do than just cron... the cron itself will execute when using the php directive, but it's really for the rest that I wonder if it will break things. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted April 1, 2007 Author Share Posted April 1, 2007 Another thing which I'd like to know if the relative paths are hardcoded to the admin directory, or if they use dirname(__FILE__) to get the path ????? 0 Quote Link to comment Share on other sites More sharing options...
Roger Posted April 2, 2007 Share Posted April 2, 2007 Simple question ... but only the developer would know for sure... Can the admin directory be secured with http auth? Or, would that stop certain scripts from working properly? (Assuming we execute all crons with php, not wget or get). I did this some time ago. CRON did stop. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted April 3, 2007 Author Share Posted April 3, 2007 roger were you using get or wget in your cron or php? if you use php, you should be able to also assign the user if using phpsuexec or nobody if not. Also, your htaccess should allow all requests from the server, and possibly the user or uid. Now, apparently most of this is working for us, but can't yet be sure. So, but am still curious: 1. if it will break any functionality 2. if the admin directory can be renamed to something else. In regards to #2, it seems not to use relative paths based on dirname(__FILE__) or similar. 0 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.