Les Mikesell wrote: > Mark Sopuch wrote: > >> I have a conf'd Apache+ModPerl+NIS instance alongside an >> Apache+CGI+LDAP instance and request confirmation that in order to >> switch from one to the other I just need to redirect the cgi-bin path >> in the config.pl (and restart backupPC) to get BackupPC to switch to >> the other Apache instance. > > > The backuppc service is separate from the web interface. You don't > need to restart it for changes in the web side of things. The cgi-bin > redirection just needs to be correct for your installation - I'm not > sure how it relates to the change you are describing here.
Model View Controller. I get it now, thanks for the clarification.. > > >> It is working sure but I need some confirmation so I can expect no >> surprises. As for the supporting htdocs/www BackupPC directory I just >> copied that into the second instance from the first one. > I probably should have linked instead of copied this stuff. I'llretro it in today at some stage. >> It all seems to work okay switching between instances and running >> data to the same BackupPC DATA directory. The reason I am doing this >> is to get an official RHES4v3 up2date'd config same as my reference >> instance compiled from source. Last step id to get CGI -> DSO ModPerl >> but RegistryCooker.pm issues abound. Hmm. >> >> Anyway, confirmation on switching minimals anyone? > > > By 'switching', do you mean you are only running one web application > at at time? If you don't run backuppc under mod_perl you can just use > setuid on the cgi program to get access to the backuppc data so it can > run with no conflicts with other web applications. If you do run > under mod_perl and have to share a machine that runs the httpd process > as some other user you can run a different httpd instance bound to a > different port or IP address so both instances can run together. > Yep, I am doing the latter - mod_perl for both on different ports (8080, 8081) and I'll phase out the working mod_perl non-RHES instance on the other port (8081) when I have 'officialised' it. ie. got it working mod_perl (instead of mod_cgi as it is now). Getting auth_ldap worked out for me last night too by the way and I can't say the same for authz_ldap which I tried first. It 'partially' worked without going into the specifics here. Thanks Les and all. --Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
