Jump to content

Auto Prepend in IIS


bjhahnel

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.