US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 09-26-2013, 05:05 PM   #1
Junior Member
 
Join Date: Oct 2011
Posts: 13
Patrick is on a distinguished road
Default Custom Operations Parameters issue with wwwdomain.edit

I have written a perl script to write a config file when a domain gets created.
In this script I use params:
owner
domain
alias

I use owner to build the docroot path because docroot has always the value "auto":
/var/www/$owner/data/www/$domain

My script works fine for new domains. But if I edit an existing domain, owner and docroot are empty

Bug or feature? Workaround?
Patrick is offline   Reply With Quote
Old 09-27-2013, 08:00 AM   #2
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

When domain is created parameter docroot is allowed. But when domain is edited parameter docroot is not allowed because changing this parameter may break up the domain proper work.
fly is offline   Reply With Quote
Old 09-27-2013, 10:15 AM   #3
Junior Member
 
Join Date: Oct 2011
Posts: 13
Patrick is on a distinguished road
Default

Makes sense, but owner is also empty. Without path to doc root i can't overwrite my config on edit With owner, i can build the path.
Patrick is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:01 PM.