Hiding Plugins In WHM
May 22, 2009
Is it possible to hide WHM Plugins from reseller accounts on a cPanel server?
As of now, I'm simply blocking unauthorized access to the plugins with the following code:
Code:
Whostmgr::ACLS::init_acls();
if (!Whostmgr::ACLS::hasroot()) {
print "<b>Access Denied.</b>
";
exit();
}
If there are conditionals that can be stated before the link to the script is displayed, or any modifications that can be made to hide plugins, please let me know.
There are some plugins in WHM which I allow my resellers to use (mainly Fantastico/Master Reseller Panel), so hiding all plugins from non-root users is not a feasible option.
View 2 Replies
Jul 3, 2007
I'm creating a site similar to slickdeals & bensbargains and I'm trying to find a script that I can integrate into my text editor (tinymce.moxicode) that will create a tiny url as well as the redirect page automatically using php & mysql.
Looking at the following mouseover link from slickdeals:
slickdeals dot net/?pno=6999&lno=1&afscr=1
where it always starts with slickdeals dot net/
?pno=6999 each deal added gets a +1 to this number. The next deal would be 7000.
&lno=1 each link within a particular deal. Where the first link to the deal is lno=1, the next link (rebate) would be lno=2, etc.
&afscr=1 I'm not sure what this is for, I moused over a bunch of their links and they are all =1.
But the bottom line effect is that when you click on one of their links, it brings you momentarily to a blank page and then bestbuy dot com/etc/etc/etc comes up. The user never sees the funky affiliate link.
The best I've found so far is gentlesource dot com/short-url-script/
View 2 Replies
View Related
Jun 23, 2009
if it's possible to change the permissions of a folder on a site (wwwrootscripts) so that the browser reads the scripts but when you go to the script location wwwroot/scripts/mystyles.css the user can't see the code?
View 2 Replies
View Related
May 28, 2009
I have 2 different shared hosting accounts with 2 different hosts. On 1 hosting account I can install Wordpress plugins by clicking on the "install" link and everything is done, all I have to do is activate the plugin and I'm in business. On my other hosting account I signed up for yesterday, when I try to install a plugin I'm taken to a "Connection Information" screen. It says, "To perform the requested action, connection information is required" and there's a box for the hostname, username, password, and connection type (FTP or FTPS).
I also noticed that when I search for a plugin, the rating stars are all white (no yellow) on the hosting account that asks for the FTP info.
Both of these accounts were installed with Fantastico. Any ideas why my new hosting account acts this way?
View 8 Replies
View Related
May 22, 2008
Installed lighttpd but unable to run it properly.
[root@ssserver1 lighttpd]# /etc/init.d/lighttpd restart
Stopping lighttpd: [FAILED]
Starting lighttpd: [ OK ]
[root@ssserver1 lighttpd]# netstat -anp | grep light
[root@ssserver1 lighttpd]#
Checked logs.
2008-05-21 23:12:43: (mod_fastcgi.c.904) bind failed for: unix:/var/run/lighttpd/php-fastcgi.socket-0 No such file or directory
2008-05-21 23:12:43: (mod_fastcgi.c.1340) [ERROR]: spawning fcgi failed.
2008-05-21 23:12:43: (server.c.908) Configuration of plugins failed. Going down.
View 1 Replies
View Related
Mar 23, 2015
Did a fresh WordPress install on a subscription. I was able to install new plugins via WordPress, and directly upload a theme file without any issues. However, when I tried to use the WordPress import too (uploading an 11MB XML file) I received an Internal Server Error, which brought the entire site down. No part of the WordPress site is accessible. Odd.
Checked the Plesk log - no errors there.Nothing in the IIS logs that shows an error either.When looking at the domain's logs, I see the 500 entry logged, but don't see any sort of reason for it having happened, to be able to resolve:
2015-03-23 15:43:59 W3SVC8 blackbird 66.147.239.188 GET / - 80 - 66.147.239.188 HTTP/1.1 Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.2;+WOW64;+Trident/6.0) - - tealeafswny.com.66-147-239-188.homeruncreative.com 500 0 0 331 288 3750
View 5 Replies
View Related
Oct 14, 2014
I'm struggling to find the problem why the wordpress toolkit will not update plugins/wordpress/themes. I'm getting this error:
The WordPress plugins were updated with errors:
Installation "Multirotor Photo's": Warning: Could not create directory. {"err_code":0,"err_message":"Updated 0/1 plugins."}
I recently migrated all domains from my old server to the new server using the plesk migration tool.
The configurations of the servers:
Old server: Ubuntu 12.04, Plesk 12.0.18, AMD Opteron , 8 GB RAM
New server: Ubuntu 14.04 LTS, Plesk 12.0.18, Intel Xeon, 8 GB RAM
View 6 Replies
View Related
Mar 10, 2015
how to setup pre-installed wordpress themes and plugins so that customers can have them as soon as they auto-install wordpress? I am sure the files are stored somewhere, but can't find it.
Also, any way to disable the auto-install wordpress link from domain.com/wordpress to just domain.com? Some in-experienced customers will have a hard time since they wouldn't understand that selecting custom is the way to go.
View 2 Replies
View Related