PEAK XOOPS - allow_url_fopen issue in englishin japanese

allow_url_fopen issue

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 | Posted on 2007/6/20 9:46
Bobwva  企霹始   Posts: 1
When I set up the allow_url_fopen option, it works too well, and block images/data imported via another xoops module, in my case, the "Sitka Weather" module which imports current weather data/images from yahoo. Is there a technique to use this option in protector, but add additional lines to httpd.conf that permits url access to specific url's such as this?
Votes:5 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2007/6/22 4:27 | Last modified
GIJOE  黎扦烦菱   Posts: 4110
eg)
<Directory /path/to/the/module>
  php_admin_flag allow_url_fopen 1
</Directory>

Anyway, I recommend to drop such modules depended "allow_url_fopen".
Use fsockopen()/snoopy instead of fopen("http://").
Votes:8 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/6/9 23:28
edudelta  企霹始   Posts: 3
hi!
i can turn off the allow_url_fopen with .htacess?
my server don…t modify (is on!)
and in .htaccess in /www with:
<Directory / >
php_admin_flag allow_url_fopen 0
</Directory>

the site send a Internal Server Error.
the path is correct?
i can?
Votes:9 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2009/6/10 4:43 | Last modified
vaughan  惧霹始   Posts: 37
@edudelta

read this thread
Votes:5 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!