ispman/lib/CustomerMan ApacheMan.pm,1.5,1.6

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/CustomerMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13074/lib/CustomerMan

Modified Files:
	ApacheMan.pm 
Log Message:
fixed bug [ 923328 ] Website Infos are not saved in Customer Control Panel
thanks to cginger and borisych for providing a patch
and sorry that this took so long (I overlooked your patches)

Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/CustomerMan/ApacheMan.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ApacheMan.pm	16 Apr 2004 19:18:15 -0000	1.5
+++ ApacheMan.pm	2 May 2004 08:32:33 -0000	1.6
@@ -141,13 +141,14 @@
          }
       }
    }
-   
-   
-   
-   my $dn="cn=$vhost, ou=httpdata, $self->{'domaindn'}";
+
+   my $dn="ispmanVhostName=$vhost, ou=httpdata, $self->{'domaindn'}";
    my $data={};
-   $data->{"documentrootoption"}  = \@documentrootoptions if @documentrootoptions;
-   $data->{"scriptdiroption"}  = \@scriptdiroptions if @scriptdiroptions;
+   $data->{"ispmanVhostDocumentRootOption"} =
+     \@documentrootoptions if @documentrootoptions;
+   $data->{"ispmanVhostScriptDirOption"} =
+     \@scriptdiroptions if @scriptdiroptions;
+
 
    if ($self->updateEntryWithData($dn, $data)){
       $self->addProcessToGroup($domain, "httpgroup", "ModifyVirtualHost", $r->param("cn"));



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.