php - Plesk API - dynamically create .htaccess on new domains -
i'm using plesk api (1.6.0.2) add new domain names. however, i'd generate specific .htaccess rules newly created domains.
i tried using php's file_put_contents on newly created path, got open_basedir error. changing open_basedir paths manually sort of defeats purpose of script, automate creation virtual hosts , domains.
any suggestions?
Comments
Post a Comment