I think I would like some clarification as to what you are shooting for and ~why~gogoguerilla wrote:I hope this makes sense as this issue is the main thing keeping from getting going with the site.
Please let me know if you need clarification. THANKS!
This thread has gone full circle (maybe even... 720 degrees) and almost sounds like building an H-bomb... just to blow-up an anthill. Don't hesitate to share your "phpinfo", your "config.inc.php" and/or your actual domain info (as much as you can)
What files are you talking about having access to here? Your website's "non-phpWCMS" files? Are you hoping to prevent directory "browsing" when you refer to being "private" files?gogoguerilla wrote:I understand that I can install the contents of the phpwcms folder into the root of my site; however, these are files I would call "private" - meaning that only site administrators/authors need or have access to them.
Or do you mean the "actual" phpWCMS root files such as "index.php", "phpwcms.php", "login.php", "browser_image.php", etc. ? NONE of these files EVER change (except when you update the script) or CAN be changed, except via FTP. (That is... if file permissions are in place to prevent malicious execution or alteration.)
Instead... phpWCMS relies on the mySQL database and several subfolders of the "install" to provide the "content" and "execution" functionality that PHP then "serves up" to a user's browser (whether frontend or backend).
The administrators/authors, to which you refer, would need to have your valid user/password access to the actual webspace, in order to "alter" or "execute" files. "Content" changes/additions made by "valid" administrators/authors of your site's installation of phpWCMS (as defined by you) are written into the database and/or stored to the designated subfolders... NOT "written" or "output" to the so-called "root" of phpWCMS.
And do you mean in your webspace's "actual" document root? Or the folder you have "pointed" your domain to? The difference is an important consideration.
The "phpinfo" function should reveal the "actual" ENVIRONMENT variables such as DOCUMENT_ROOT, PATH_TRANSLATED, SERVER_NAME, etc. These are ~important~ components that phpWCMS refers to (in some cases), within it's code, in conjunction with ~your~ settings of "config.inc.php" for purposes (at one point, described by ionrock) of "including" external files/functions, referencing locations for images, and basicly... correlating the various elements and phases necessary to operate as a CMS (read "frontend" and "backend").
If you are referring to downloads that you want to make available to visitors... phpWCMS file permissions are coupled with the admin settings for "public" versus "private" -and- the "hidden" setting for categories and articles to accomplish a system of controls.gogoguerilla wrote:In order to keep my server clean (and organized), it would be nice if I could keep all the phpwcms files in a SEPARATE folder than the actual public files (which would be located in the root folder). When I need to login, I can just go to the subfolder. Edited/posted content would be published to the public files.
After reading your follow-up, It's -=likely=- that I've missed your desired intention COMPLETELY and ask in advance your tolerance of my rambling It's way late here and I shouldn't be trying to form coherent thoughts It could be that, as ionrock stated, simply "massaging" a ".htaccess" file can accomplish what you need. I'll try to get back to this thread to "learn" more from all who participate. Hang in there!!!gogoguerilla wrote: Here is my idea: Is there a way possibly to change the way the files are published so that they publish to a different directory than the one that the phpwcms folder is installed in?
@ionrock
BTW, thanks for your -kind- evaluation of my "helper" mentality, as it relates to the "non-design" aspects of getting this great script working for folks. I truely believe it's success and evolution will "shine" as users can let the creativity flow. But, that requires getting the script running for as many as possible. I guess I'm just a "stubbornly-proactive" logician. (Jack of all Hacks) G'night