cancel
Showing results for 
Search instead for 
Did you mean: 

[PAYH] File permissions

PeteW1959
Grafter
Posts: 43
Thanks: 5
Registered: ‎26-08-2008

[PAYH] File permissions

I have copied a PHP application (phpGedView) from CCGI to PAYH. I have been through and set every file permission to be exactly the same as it was on CCGI, but all I get is a 403 error "You don't have permission to access /PGV/index.php on this server"
If I increase access to various files, I can make parts of the app work, but I don't want to reduce the security.
Any ideas?
3 REPLIES 3
PeteW1959
Grafter
Posts: 43
Thanks: 5
Registered: ‎26-08-2008

Re: [PAYH] File permissions

OK, I have found out that I need to use the phpwrapper.cgi from Gabe to get PHP apps to work.
However, I can't even get a simple index.htm file to work!
I used the test files when the space was first set up and everything was fine. I deleted all the test files, copied my website over and......
Forbidden
You don't have permission to access / on this server.
I have since deleted everything and just put a very simple index.htm file in httpdocs and still get the problem. Even setting permissions to 777 doesn't help.
Can ANYONE help me?
spraxyt
Aspiring Legend
Posts: 10,063
Thanks: 673
Fixes: 75
Registered: ‎06-04-2007

Re: [PAYH] File permissions

I'm not sure whether the symptoms reported can be caused by this problem, but did you ensure the index.htm file was FTPed to PAYH using ASCII mode? Alternatively try creating the file using the Plesk file editor.
David
PeteW1959
Grafter
Posts: 43
Thanks: 5
Registered: ‎26-08-2008

Re: [PAYH] File permissions

Thanks for that spraxyt, I've got it working now. It was a combination of bad file transfers and getting my .htaccess files in a muddle!