cortic
09-11-2007, 06:09 PM
I have 4 domains for a client, each has a different site with different info and each has a clone 'admin' section with basic authentication .htaccess and .htpasswd.
I need to make an interface for site 1 so that my client can update access details for the other 3, in each section (site) 'admin' access means they can change basic stuff like 'news' or 'links' etc. <this is what I'm working on, but it occurs to me there is a problem with access to remote .htpasswd (especially on the other domains)
since I've never used .htaccess before I need to ask, is there a way to update the .htpasswd file locally and remotely with perl? I can find nothing to even encode the password never mind access the .htpasswd file.
thanks.
I need to make an interface for site 1 so that my client can update access details for the other 3, in each section (site) 'admin' access means they can change basic stuff like 'news' or 'links' etc. <this is what I'm working on, but it occurs to me there is a problem with access to remote .htpasswd (especially on the other domains)
since I've never used .htaccess before I need to ask, is there a way to update the .htpasswd file locally and remotely with perl? I can find nothing to even encode the password never mind access the .htpasswd file.
thanks.