Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Jean-Guy on May 03, 2001, 06:44:07 PM
-
Hi, I setup my website on my e-smith machine and it works great but when I install php scripts they tell me to put the include files out of the http path (I assume not under the ./http folder) so I put them in ./files (each website has cgi-bin,files and http) but nothing seems to be able to access those files I even tried putting the .htpassword files there and .htaccess doesn't work. in the config paths I tried pointing the the full name /home/e-smith/files/primary/files/.htpassword but this doesn't work, my question is does e-smith restrict the apache www server from these folders?
Jean-Guy
-
the files directory is only for ftp access. I dont believe you will be able to use php there. I would assume that you could create a directory under the http directory "php" or whatever and that should work.
-
Try to upload files via ftp rather than copying there,
the place could be ok (in files or in cgi-bin) I would upload them to cgi-bin folder
Alejandro
-
if you put your php files under the files directory you will not be able to access them via http , that directory if for ftp only. I just installed phpBB under the http directory in a folder called forum and it works fine. You just need to make sure that the file that needs to be accessed will have permissions of 644, atleast that is what was required of phpBB, and that is a php file.
hope this helps.
Jason