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? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -