• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Search results

  1. E

    Apache module

    Why is it not possible to install any additional PHP versions as an Apache module? You're a control panel provider, not an industry standards creator. Nobody cares what Odin thinks about module VS cgi VS fastcgi, nobody. If Odin personally doesn't want to run their websites as an apache module...
  2. E

    API requests suddenly extremely slow

    That fixed it, thanks
  3. E

    API requests suddenly extremely slow

    In the last few days the responses from Plesk's XML API have been extremely slow. It's now taking an average of 45 seconds to handle an XML API request where it used to be more around 5 seconds. What would cause that? What service handles these requests on the server so I can try rebooting it?
  4. E

    AWStats not showing stat since website is secured via SSL

    SSL logs are in a different location: /statistics/webstat-ssl/awstatsDATE.DOMAIN-https.txt
  5. E

    open_basedir short codes

    Alright I switched this up a bit. We already have a custom event handler + extension tied to Physical Hosting Created so I just modified that to also generate the open_basedir definition file on-the-fly and call the update-php-settings using that file during the rest of the work it does. That...
  6. E

    open_basedir short codes

    It's strange, that event doesn't ever fire. If I change the event to "Physical hosting created" it actually fires but it won't replace the <new_domain_name> directive so directly after creating a new subscription: grep "open_basedir" /var/www/vhosts/system/DOMAIN_NAME/conf/httpd.conf Reveals...
  7. E

    open_basedir short codes

    Oh okay so that would solve the last issue I had except it's not firing the event when a new subscription is created so that's never happening. What priority should it have? I left it at default "lowest (0)
  8. E

    open_basedir short codes

    I switched it up to this: /usr/local/psa/bin/subscription --update-php-settings <new_domain_name> -settings /path/to/my/open_base_directory_definition And that's half working except it makes the open_basedir value /var/www/vhosts/DOMAIN_NAME:/tmp/:/var/www/vhosts/system/<new_domain_name>...
  9. E

    open_basedir short codes

    I get "Unrecognized option: '--update-php-settings'" when running this
  10. E

    open_basedir short codes

    Ahh I see, but the problem with that is I'd have to manually add that for every subscription on the server, of which there are many and it's always in flux. I was looking for a way to do this globally, which is why I was hoping for something like a {DOMAINNAME} short code.. Is there a way to set...
  11. E

    open_basedir short codes

    No, we've had that value for open_basedir for a long time - years. We've been polling the web accessible version until now I'm trying to pull the data locally instead. I personally don't think we even need the /statistics entry because we already allow WEBSPACEROOT, and according to PHP...
  12. E

    open_basedir short codes

    file_get_contents('/var/www/vhosts/system/DOMAIN_NAME/statistics/webstat/awstats032015.DOMAIN_NAME-http.txt'); Warning: file_get_contents(): open_basedir restriction in effect. File(/var/www/vhosts/system/DOMAIN_NAME/statistics/webstat/awstats032015.DOMAIN_NAME-http.txt) is not within the...
  13. E

    open_basedir short codes

    Hi, yea, those are aliased for web access but I want to file_get_contents on them but am blocked due to open_basedir...
  14. E

    open_basedir short codes

    Thanks, I have a few more questions about this. Is this just the way Media Temple configured the servers or is this how Plesk works in general in that it stores the AWStats logs under /var/www/vhosts/system/domain_name and the httpdocs is under /var/www/vhosts/domain_name? If this is just how...
  15. E

    open_basedir short codes

    Where can I see a full list of available short codes for the open_basedir value? {DOCROOT} {WEBSPACEROOT} {TMP} .... what others?
  16. E

    Using a remote database server on separate Plesk installs

    Is it possible to use a remote database server on two or more Plesk installations without issue? Plesk A (192.168.1.1): Local MySQL (default) Remote A MySQL (192.168.1.5) Plesk B (192.168.1.2): Local MySQL (default) Remote A MySQL (192.168.1.5) ... etc etc. Is that possible? It'll allow me...
  17. E

    API Create Subscription Mail Settings

    When creating a new subscription via the API (Plesk 12) is there a way to specify the Mail settings? More importantly is there a way to turn off Mail when setting up a new subscription? Each time I create a subscription via the API Plesk spits out the following error: New configuration files...
  18. E

    Event handler for subscription created

    This is how I solved it. Save a file like this: class MYEventListener_EventListener implements EventListener { private static $domain_name = ''; public function handleEvent($objectType, $objectId, $action, $oldValues, $newValues) { // called for all Plesk events if($action ==...
  19. E

    Preferred Domain, why?

    For the life of me I can't understand why a control panel would think it should be the authority for how a website serves itself to the world. The website creators / developers / owners should be the only people making this decision and implementing the functionality. The fact that the Plesk...
  20. E

    Event handler for subscription created

    Which Event Handler gets fired when a subscription is created? I've tried both "Hosting settings created" and "Default domain (the first domain added to a subscription/webspace) created" but those don't seem to be firing when I create a new subscription. After creating the Event Handler the psa...
Back
Top