This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Increase disk space by adding volume only, it is okay?
#4
RE: Increase disk space by adding volume only, it is okay?
yeah, so this is so bad, I'm not good at Linux

so the PHP (and sentora) could not process the new sites on /volume2 ? they can only process requests at /var/ ? I could not manually configure vhost file to point root sites of new sites to /volume2 ?

resize is the final solution, because I need more space only, I dont need RAM&CPU

---

basically: for adding volume, I need to edit manually vhost file for each new site like below, it's okay? Then PHP & sentora may still serve this new site on new volume properly? thank you


Code:
<virtualhost *:80>
ServerName site.domain
ServerAlias  site.domain
ServerAdmin zadmin@localhost
DocumentRoot "/newvolume/public_html/site_domain"
php_admin_value open_basedir none
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
<Directory "/newvolume/public_html/site_domain">
  Options +FollowSymLinks -Indexes
  AllowOverride All
  Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
</virtualhost>
Reply
Thanks given by:


Messages In This Thread
RE: Increase disk space by adding volume only, it is okay? - by 7rdoq - 10-29-2024, 02:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Adding Ips bucky 1 4 ,678 01-28-2020, 08:48 AM
Last Post: TGates
How do i increase memory limit for one user?? vickyperkin 1 5 ,130 07-31-2019, 08:44 AM
Last Post: TGates
Excessive disk usage testing 11 28 ,168 12-15-2018, 11:27 PM
Last Post: rsthomas

Forum Jump:


Users browsing this thread: 1 Guest(s)