Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/96730-auto-prepend-in-iis/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.