Can't put Trusted_path outside website - how to proceed?
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
My webhoster allows me access only to the web root and below, so I can't put the trusted path folder outside of the web accessible files.
My hoster says just put a .htaccess file with:
Order Deny,Allow
Deny from all
Allow from none
in it and that will work. But I think that will stop Protector working.
Can anyone tell me what to do please?
Best wishes
Adrian
Votes:1
Average:10.00
msg# 1.1
A major FAQ.
Do as your hoster said.
Quote:
But I think that will stop Protector working.
No.
It never stops Protector working.
Votes:3
Average:10.00
msg# 1.2
Thank you, I thought it would be a major FAQ, but just couldn't find the answer anywhere. So I hope this helps someone else.
Protector is now in, I would like to say working, but I'll raise a separate topic if I can't find the answer to the the one issue I have.
Thank you for the module.
Best wishes
Adrian
Votes:2
Average:10.00
msg# 1.3
Hi, im also trying to do this, i created a trust folder inside the httpdocs folder called 8273, uploaded all data, defined it in the mainfile.php and made the config folder writable, but when i access the admin/modules page to update the module i cannot as the module info does not appear, only these errors under the normal list of modules...
Fatal error: main(): Failed opening required '/var/www/vhosts/sourceaddiction.com/8273/modules/protector/xoops_version.php' (include_path='.:.:') in /var/www/vhosts/sourceaddiction.com/httpdocs/modules/protector/xoops_version.php on line 9
All errors (4) queries (14) blocks (0) extra (0) timers (3)
Errors
Warning: main(): open_basedir restriction in effect. File(/var/www/vhosts/sourceaddiction.com/8273/modules/protector/xoops_version.php) is not within the allowed path(s): (:/tmp) in file /modules/protector/xoops_version.php line 9
Warning: main(/var/www/vhosts/sourceaddiction.com/8273/modules/protector/xoops_version.php): failed to open stream: Operation not permitted in file /modules/protector/xoops_version.php line 9
Warning: main(): open_basedir restriction in effect. File(/var/www/vhosts/sourceaddiction.com/8273/modules/protector/xoops_version.php) is not within the allowed path(s): (:/tmp) in file /modules/protector/xoops_version.php line 9
Warning: main(/var/www/vhosts/sourceaddiction.com/8273/modules/protector/xoops_version.php): failed to open stream: Operation not permitted in file /modules/protector/xoops_version.php line 9
any help would be appreciated.
Votes:3
Average:6.67
msg# 1.4
scratch that, i wa being extraordinarily stupid
httpdocs/ missing from the trust path define line.
lol ooops
Votes:1
Average:10.00