bjhahnel Posted March 18, 2008 Share Posted March 18, 2008 Hello, I'm attempting to migrate from a LAMP (shared hosting) to a WIMP setup (virtual private server). I would love to stick with a LAMP scenario, but I do not have enough knowledge when it comes to administration of a Linux server. Unfortunately, time = money, and I don't have enough of either. Also - I would go with a WAMP setup, but Plesk (the hosting control panel that came with my VPS) doesn't support Apache. It uses IIS for hosting. The Problem: On several of my clients websites I'm using an .htaccess file to auto_prepend_file some php code (basically setting up the LAMP server with the equivalent of an application.cfm for those coldfusion users out there). This setup is vital to the functionality and security of my sites. However, IIS doesn't have an equivalent of .htaccess files. The Real Question: is there any way to setup automatic prepends (a.k.a. includes) using IIS or PHP in a WIMP scenario? So far I have not been able to come across any good solutions. Quote Link to comment Share on other sites More sharing options...
trq Posted March 25, 2008 Share Posted March 25, 2008 The auto_prepend_file directive is that of php. It can be set just as easily (and probably more securely) through the php.ini. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.