- Web Server
- Control Panels
- Site Map/RSS Feeds
How can I set a limit as to how much space is available for a web site I put on my server? Like it is limited to 50 MB of space.
First, you have to enable quota on your system. Have a look at the quota section of the appropriate "Perfect Setup" tutorial for your distribution on HowtoForge.
After you've enabled quota on your system:
To set quotas for a user or group, use the setquota command (see
for more information), e.g.:
setquota -g $group $blocks $blocks 0 0 -a
Replace $group, $username and $blocks. Note: $blocks is the quota size in MB * 1024! To deactivate quotas for a user or group, run these commands and set $blocks to 0.
On a standard SuSE 8.2 installation the quota module is not loaded into the kernel which is why
gives back an error.
Load the quota module manually with
To have those modules loaded on every bootup of the system please insert
Configuring Tomcat5 and Apache2 with Virtual Hosts using mod_jk
This tutorial explains how I was able to setup a web server in order to support Java Server Pages (JSP) and Servlets using virtually hosted websites. The ultimate goal is to provide instructions on how to incorporate JSP/Servlet support on the ISPConfig web hosting software. I felt it was necessary to provide this first segment separately for those that do not wish to use the ISPConfig web hosting control panel.