Search:

Type: Posts; User: sirdopes; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.39 seconds.

  1. Thread: CVE issue

    by sirdopes
    Replies
    4
    Views
    456

    Re: CVE issue

    The cves are for apache 1.X only. The mod_ssl version numbering changed and is built into apache for 2.X. As for the database, you would need to firewall it off and only allow ips that are trusted to...
  2. Replies
    2
    Views
    602

    [Case 60698] Custom jailshell files

    We would like the ability to add custom files be added to jailshell and not just custom mounts.

    For a specific instance, lynx was failing on the following error.

    user@example.com [~]$ lynx...
  3. Filed with Developers Re: Ability to disable cgi-sys scripts on per-account basis [Case 55759]

    You can add an include for the specific vhost that points cgi-sys to the cgi-bin folder for their specific domain for pci tickets.

    ScriptAlias /cgi-sys /home/usr/public_html/cgi-bin/
  4. Replies
    4
    Views
    1,221

    Filed with Developers sftp logging without jailshell [Case 56638]

    I tried enabling sftp logging by adding the following to the sshd_config. This works if jail shell is enabled but not if the shell is set to /usr/local/cpanel/bin/noshell.

    Subsystem sftp ...
  5. Re: Call to undefined function curl_init() How to solve this ?

    You will need to recompile cpanel's internal php with curl support. This is a different installation than the version that apache uses. You can do this in ssh by running the command...
  6. Replies
    2
    Views
    560

    Re: Hooking into mail handler

    The easiest thing is to create a forwarder to pipe the email into your script. You can create a forwarder for an existing email address and it will deliver into the inbox and pipe into your script.
  7. Replies
    5
    Views
    759

    Re: postwwwacct refuses to run

    The custom event handler is called during each of those i believe. The following page has some documentation and an example.

    Custom Event Handlers
  8. Replies
    5
    Views
    759

    Re: postwwwacct refuses to run

    It is probably running but not creating the file testFile.txt in the spot that you are expecting. Does it work if you specify the full path?
  9. Re: cPanel domain parking and documentroot path in httpd.conf

    The httpd.conf will get overwritten. If you are wanting to specify a different document root for a domain, it needs to be changed in the userdata file. It is located at...
  10. Re: cPanel domain parking and documentroot path in httpd.conf

    I don't think I understand what you are wanting to change. When you park a domain on another domain, it should not change the document root to something else. You can use the custom event handler to...
  11. Re: postsuspendacct -> change dns ? simple script

    An easy way to do this would be to use postsuspendacct to copy the current zone file to the users suspended folder or another folder, then use ZoneEdit::resetzone to set all of the records back to...
  12. Replies
    2
    Views
    800

    Re: Cpanel::PublicAPI deladdondomain

    Are you using the subdomain or the domain key? It should be something like sub_maindomain.com for the subdomain and not the actual subdomain.
  13. Replies
    3
    Views
    704

    Re: Cpanel::PublicAPI DomainLookup module

    You need to pass the user for the domain you are doing a lookup for as well.

    $cp->cpanel_api2_request('whostmgr',
    {
    'module' => 'DomainLookup',
    'func' => 'getdocroot',
    ...
  14. Re: warn: netset: cannot include ... as it has already been included

    There is a bug report for NetAddr::IP concerning this issue.

    https://rt.cpan.org/Public/Bug/Display.html?id=71925
  15. Re: Can you create a MySQL DB via API json call?

    Use the following URL and it should work correctly. It is mainly changing the dbname= to arg-0=
    ...
  16. Re: Default Automatically create mysql user and database for new WHM accoun

    The following is an old example I wrote that does what you are asking. It would be better to change it to call the api calls directly instead of make a GET request to localhost though.


    ...
  17. Replies
    2
    Views
    806

    Re: Apache CVE-2008-2168 PCI Compliance

    What version of apache are you using? It looks like it is just an issue in version less than 2.2.6.
  18. Re: Stop account creation using prewwacct script

    One option is to call killacct in postwwwacct until 11.32 comes out.
  19. Replies
    5
    Views
    656

    Re: Post Package Change script

    The code that I posted can be used in /usr/local/cpanel/scripts/postmodifyacct. However, this is only called when an account is modified. It is not called on the change package screen. So you could...
  20. Replies
    5
    Views
    656

    Re: Post Package Change script

    I was looking at this a little more and it doesn't look like the postmodifyscript is called when changing the plans. One option is to use to edit the account after the package is changed. You can use...
  21. Replies
    5
    Views
    656

    Re: Post Package Change script

    There is a /usr/local/cpanel/scripts/postmodifyacct script that is called after an account is modified. This is probably where you would want to add the call to your script. The file can be created...
  22. Replies
    7
    Views
    3,884

    Re: Bash script runs manually but not in cron

    Do you see the cron running in /var/log/cron ? Also, is there a reason that you are deleting the email? I guess i am confused on why you would want an email address setup in the first place if you...
  23. Re: Function to replace the user names cpanel?

    Are you wanting to change the usernames for all of the users? Do you have root access or are you wanting to do this as a reseller?
  24. Replies
    1
    Views
    1,021

    Re: Adding apache module

    The module should go into /var/cpanel/easy/apache/custom_opt_mods/Cpanel/Easy/

    The src files in the folder /home/cpeasyapache/src/

    The src folder that you specified would be:
    ...
  25. Re: php 5.2.17 and php 5.3.8? (not a feature request, but a request for hel

    Download the source and extract. Run something like the following configure line and then make and make install.


    ./configure --enable-bcmath --enable-calendar --enable-dbase --enable-exif...
Results 1 to 25 of 141
Page 1 of 6 1 2 3 4