How Can I Restrict User Specific CPU Usages

Nov 18, 2008

How can i restrict my user that always taking high CPU usages..i have linux server with shared hosting and most of the time i suffer that some user takes 10% of our server CPU so that i want to restrict those take high cpu usages..

View 6 Replies


ADVERTISEMENT

Apache :: Restrict Access To A Set Of IP In Specific URL

Jan 18, 2014

I have Apache 2.2 installed on my Unix Server and have a couple of Application servers running each of them having similar Document Root.

For example, The URLS will look like below

https://my-test1.com/demo/index.html
https://my-prod1.com/demo/index.html
https://my-qa1.com/demo/index.html

The directory folder looks like

/myapp/my-test1/demo/index.html
/myapp/my-prod1/demo/index.html
/myapp/my-qa1/demo/index.html

I would like to restrict access to the above prod1 URL for a specific set of IP's. How can I achieve this.

View 1 Replies View Related

Apache :: How To Restrict Access Via IP Address For Specific Webpages

Apr 17, 2014

I'm using Concrete5 CMS to create a website. This CMS creates/manages all its webpages in a mySQL database. Thus, there is no physical folder associated with each webpage, so I can't simply create an .htaccess file and place it in the directory tree in the right sub-folder to restrict access for that sub-folder and all folders it contains.

I have one .htaccess file located at the root level (e.g top-level folder for the website).

QUESTION 1: I need place in this top-level .htaccess file to (1) restrict access to only two specific IP addresses that I can specify (blocking access to all other IP addresses), and (2) specify the URL addresses that I wish to apply this rule to?

For example, let's say my website is [URL] ....

And I want to restrict access to the [URL] ....

and my .htaccess file is located at

/home/myname/public_html/conc/.htaccess

What code can do that?

View 1 Replies View Related

Plesk 12.x / Linux :: Restrict SSH User To One Folder?

May 15, 2015

I need to create a SSH account for an subscription. This account is not allowed to access other domains. How do i do that?

I know how to create an SSH account with remote access.

View 1 Replies View Related

Limiting Ssh User To Specific Folder

Jun 23, 2009

I may have this wrong, but I think it's possible. I have a friend who wants to run a process on one of my servers, now I don't particularly 'care' about this server, it's just used for a couple of unimportant things so I'm okay with him running it, but I don't want the hassle of sorting out things if he decides to delete everything, so I'm hoping it's possible to limit his directory.

For example, I have the folder "people" in the top most directory, inside that I have "arthur", I want to limit the ssh user "arthur" to the folder "arthur", I don't want him to be able to cd ../../ and delete stuff, is this possible?

View 3 Replies View Related

MySQL Anyway To Log Queries Of Specific User

Jun 5, 2007

I know about the general log but want to just log queries of a specific user. Our database does 400 queries/s on a slow day, so I think it would be a pain to grep though a huge log like that. And, im not sure if it would cause any preformance issues.

View 0 Replies View Related

Apache :: How To Detect Where User Has Come From A Specific Website

Nov 1, 2013

configure Apache server to handle users requests using condition based on where he come from so i can redirect him . what i need if user came with from site start with xn--* redirect him to virtual host and if he came from any other link then go to another virtual host

View 2 Replies View Related

Mysql Disable INSERT Access To Specific User/table

Apr 26, 2009

How can I disable INSERT access to specific table.

The user should have full access the the DB except insert to specific table.

The tables_priv allow to set what enable and not what disable.

I'm using mysql v5

View 4 Replies View Related

Apache :: How To Redirect Specific Useragent On Specific URLs

May 20, 2015

I have question: How to redirect specific useragent on specific URLs to specific URLs in .htaccess [Question]

E.g.:

I want to redirect 301 with conditional:

Code:
useragent: Firefox
from my url1: domain[dot]com/old-url1/
from my url2: domain[dot]com/old-url2/

to

Code:
to new url1: in my url1: domain[dot]com/new-url1/
to new url2: in my url1: domain[dot]com/new-url2/

I create this in my .htaccess but not work

Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} googlebot [NC]
RewriteRule ^/?this-is-url/?$ domain[dot]com [L,R,NC]

View 1 Replies View Related

How To Restrict CPU Resources

Jun 26, 2008

I would like to configure my delicated server to have following restriction on cpu...

system resources: 10% @ 30 sec per cPanel Account

View 8 Replies View Related

Restrict Access To WHM By IP

Apr 13, 2007

where I can restrict access to WHM to only my IP? My provider is stumped. They were using iptables and came to the conclusion it couldn't be done on a VPS.

View 6 Replies View Related

How To Restrict Directory Access

May 28, 2009

How to restrict directory access by IP address using .htaccess?

AS i know the code must be like this

Code:
Order Deny,Allow
deny from 111.111.111.111

Now the questions

1. how to restrict access by IP-subnet?
Does such code right ?

Code:
Order Deny,Allow
deny from 111.111

2. how to restrict multyple IPs?

Code:
Order Deny,Allow
deny from 111.111.111.111, 222.222.222.222, 333.33.33.33
?

View 2 Replies View Related

Want To Install FTP And Restrict It To Certain IP Addresses

Jan 25, 2008

I have set up IIS, and have been running a web server for about a month. I want to install FTP and restrict it to certain IPs. When I install the FTP will it erase everything I have set up? Also I want to have the FTP be only accessable from my school. They run active directory. Is it possible to restrict the FTP to this domain? Or maybe to the WAN IP of the school?

View 2 Replies View Related

Secure And Restrict SSH Access

Aug 23, 2007

1.Who can I secure and restrict SSH access?

View 3 Replies View Related

Is It Possible To Restrict Outbound Email With Smartermail

Jul 20, 2009

A prospect wants an email server that could allow him to restrict some accounts and make them send emails only to the companies domain.

I was thinking of setting up a VPS with smartermail, so I was wondering if this be done with smartermail?

View 2 Replies View Related

Apache :: Restrict Number Of Session For Context

Dec 29, 2014

I have installed apache 2.4.10 with tomcat-7 as backend .Proxypass has been added in apache to access tomcat via http port .now requirement is to restrict each Context to 100 sessions only , how i need to achieve this .

View 1 Replies View Related

Plesk Automation :: PPA - Restrict Service Nodes For Subscriptions

Feb 26, 2014

I'm testing PPA and have now a questions. How can restrict a subscription to a service node? I have try that over the subscriptions and custom atribute's. That work for the most thinks (Apache/Postfix) but not for MySQL, all customers can by a create to choose the database server (all database servers). How can i customer don't allow to choose the database server?

For a example (web1, mail1 only -> db1) (web2, mail2 only -> db2)

And for the DNS settings to create automaticly a DNS for the database service? (as a sample: db.domain.de -> database service node)....

View 4 Replies View Related

Plesk Automation :: Unable To Restrict Customer Permissions

Feb 28, 2015

I'm not able to restrict the customer permission.

I want to prevent customer of creation new Webspaces , domains, subdomains and manage DNS records.

If I put zero in webspaces, the customer remains able to create a new webspace.

If I disable DNS management, he can creates a subdomain in DNS.

I tried to put zero in domains, subdomains, webspace, dns in subscription.

None of permissions combinations or subscription limit prevents him to create a new webspace, neither add subdomain an manage the dns records.

View 1 Replies View Related

Plesk Automation :: Restrict What Applications From Catalog Can Be Used For Each Server?

Mar 28, 2013

In PPA is there a way to restrict what applications from the application catalog can be used for each server? Right now I have a hosting node that can install anything from the application catalog, but I can't find anywhere in PPA to specify what is available and what isn't. If I go to APS Applications and My Apps, Add App, and select "Select an app from Application Catalog", firstly no matter which browser I use, the OK/Cancel buttons disappear. I have to open the frame in its own tab to be able to use this properly. But even if I select an app and choose not to make it available, it can still be added from the customer's hosting panel. In Plesk 11 I can choose which applications are available to the customers. I can't find how to do the same thing in PPA.

View 5 Replies View Related

Redirect Domain/user To User.domain ONLY IF Folder 'user' Doesn't Exist

May 7, 2007

I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)

If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com

View 3 Replies View Related

Plesk 12.x / Linux :: Log Rotation For Particular Domain - Restrict File Size?

Feb 12, 2015

For a particular domain I've got it set to:

Log rotation condition: By size (1024 KB)
Maximum number of log files: 5
Compress log files: Yes

...however the access_log.processed is at 20.4MB. Is this correct? I would have thought it could only get to 5MB in total?

How do I restrict the size of access_log.processed?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved