• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

301 Moved Permanently

keny

New Pleskian
Hi,

Just upgrade my server form debian 6 to 7 on a fresh install and reinstall plesk 11.5

Now one of my website keep giving me 301 Moved Permanently redirect on a curl even if i had CURLOPT_FOLLOWLOCATION => true

So this problem comme from plesk or php 5.4 ?

PS. curl try to load a page from my own domain

ex http://www.mydomain.com/test.php i have a redirect to tell me that the page is now there :http://www.mydomain.com/test.php !!

work with external domain

i am completly lost here
 
Ok i found the problem

i set this in the php.ini
open_basedir = none

But is it the right place to change it ?
/var/www/vhosts/system/domain.tld/etc
 
No. The file will be overwritten next time custom PHP settings are generated. You should put the configuration into either server-wide settings, custom configuration in Panel, or conf/php.ini, and then (in 1st and 3rd cases) you would need to call something like # plesk sbin httpdmng --reconfigure-all to update actual settings.
 
No. The file will be overwritten next time custom PHP settings are generated. You should put the configuration into either server-wide settings, custom configuration in Panel, or conf/php.ini, and then (in 1st and 3rd cases) you would need to call something like # plesk sbin httpdmng --reconfigure-all to update actual settings.


Thanks i was ignoring that we can manage php.ini in plesk !
 
Back
Top