I don't know if I have asked this question before but I need to ask it now, Is there a way to configure the server on a per site basis, in other words I need to configure some sites with register globals on and some with register globals off. Is there a way to do this?
I don't know if I have asked this question before but I need to ask it now, Is there a way to configure the server on a per site basis, in other words I need to configure some sites with register globals on and some with register globals off. Is there a way to do this?
I discussed this exact question yesterday here in the forums, though, and provided simple steps to replicate the functionality in GPL. It requires a few manual steps, but nothing scary.
I discussed this exact question yesterday here in the forums, though, and provided simple steps to replicate the functionality in GPL. It requires a few manual steps, but nothing scary.
for every new domain you would set that in the server template you are using under the ‘Apache Website’
Also there you can set the “PHP configuration variables for scripts”
something like: open_basedir {HOME}:${HOME}/tmp:/usr/lib/php:/usr/share/pear (use your paths of course) and other things you want to set automatically in the domains php.ini upon creation
for existing domains, select a domain, go to ‘server configuration’ go to ‘website options’ and in the right pane select “Run CGI scripts as domain owner?” = Yes
“PHP script execution mode” = FCGId (run as virtual server owner)
“PHP FCGId sub-processes” = 2 (i’ve set it to 2)
This is what I am seeing under Virtualmin and the Domain I need to change:
virtualmin Virtualmin webmin Webmin
Login: root (Master admin)
Create Virtual Server
Edit Virtual Server
Edit Mail and FTP Users
Edit Mail Aliases
Edit Databases
[â
for every new domain you would set that in the server template you are using under the ‘Apache Website’
Also there you can set the “PHP configuration variables for scripts”
something like: open_basedir {HOME}:${HOME}/tmp:/usr/lib/php:/usr/share/pear (use your paths of course) and other things you want to set automatically in the domains php.ini upon creation
for existing domains, select a domain, go to ‘server configuration’ go to ‘website options’ and in the right pane select “Run CGI scripts as domain owner?” = Yes
“PHP script execution mode” = FCGId (run as virtual server owner)
“PHP FCGId sub-processes” = 2 (i’ve set it to 2)
for every new domain you would set that in the server template you are using under the ‘Apache Website’
Also there you can set the “PHP configuration variables for scripts”
something like: open_basedir {HOME}:${HOME}/tmp:/usr/lib/php:/usr/share/pear (use your paths of course) and other things you want to set automatically in the domains php.ini upon creation
for existing domains, select a domain, go to ‘server configuration’ go to ‘website options’ and in the right pane select “Run CGI scripts as domain owner?” = Yes
“PHP script execution mode” = FCGId (run as virtual server owner)
“PHP FCGId sub-processes” = 2 (i’ve set it to 2)
This is what I am seeing under Virtualmin and the Domain I need to change:
virtualmin Virtualmin webmin Webmin
Login: root (Master admin)
Create Virtual Server
Edit Virtual Server
Edit Mail and FTP Users
Edit Mail Aliases
Edit Databases
[â