7
Quote:
lindaf340 wrote:
Thank you!
I had the rights at 0774, thinking that would be enough. I changed it to 0777 and that did the trick.
Now do I leave all those folders at 0777 or change them back now that the install completed?
Leave them alone.. The system needs them that way to access them correctly.
Quote:
red, that is the way my isp set up the directories.. they don't want us to put anything before public_html as public_html is the root of the website. All I know about that is adsg is my account and for some reason they added the public_html dir as the root of the site.
Yes this is correct. The web server will look for those files there. However php can read from other directories thus the reason why you are able to "put them outside root" the idea is to move those two directories into a directory in your adsg directory thus "taking them out of document root". This means that the web server can not directly access these files thus making them more secure against hackers. In order for a hacker to gain access to them they would have to KNOW where the folders were and install a script into your document root and run it to access them directly.
If they are inside your document root it is WAY easier for a hacker to access them. If you do not have an index.html file in there theoretically it is pretty simple for a hacker to read the files in the directory. If they can access the directory then they can access your database information then you are screwed. Moving these outside of "document root" still allows them to be accessed by PHP but NOT by the webserver directly. Thus making it much harder for a hacker to access them which is a good reason to also rename the folders to make it significantly harder to guess.
Quote:
I think I might try that though whenever I get to a point to go live with this. But right now I have a live site and I am keeping xoops in the regular install directory so play with it and see if I can convert the regular site to xoops. I'm thinking once I go live that I will have to put the contents of htdocs in the root of my website is that correct?
Ok, didn't see you mention this..
But yes all you should have to do is move the files from the htdocs to the public_html folder and change the mainfile.php file to reflect the correct file paths. You will likely have to also go into the cache directory and delete all files in there other then index.html (inside the three seperate folders... smarty_cache, smarty_compile and xoops_cache)
While you are doing this you could actually delete everything out of the xoops directory and move everything from the htdocs folder to the xoops folder. Then you would only have to use asgs.org/xoops to call the site...
Quote:
Hey new problem: on the install where it gets to the place to install the modules there is module that is called "module file for not found" I went ahead and clicked yes to install it but something isn't right.
here is a pic of the install screen and a pic of the module maintaince/administration page once xoops installed. Is this correct??
http://adsg.org/xoop/xoop.htm
For some reason you don't have the profile module all on there.
You MAY not have all the files uploaded to your folder and so it is not seeing things. OR you do not have read/execute on the files in the profile directories. I am guessing at this point it is a permissions issue. This happens sometimes when you decompress files on a windows machine and upload them to your server via ftp. Which is why I always decompress the modules and such directly on my webserver. In MOST cases this will preserve the permissions as compressed.
By the way it is always a BAD idea to test things out on your live server.. It is VERY easy to setup something at home on your desktop pc and play with it there to make sure it works first.
Although it is generally a good idea to have a machine you are able to test things on that is as close operationally to your live server as possible.