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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -