Custom httpd.conf for demo package

mangelot

Verified User
Joined
Jan 11, 2007
Messages
70
Location
Enschede, Netherlands
Hi,

Is it possible to enter a html code inside a generated httpd.conf for a specific package?
I would like to give customers a trail package named "demo" for some days, and would like to input a popup with mod_substitute in the head section.

Telling the visitor that the visited page is a demosite, and under no circumstances they should input there bank account numbers, buy something etc..
just to prevent phishing...

Example code:

<Location "/">
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|</head>|\t<script src="https://external.url/popup.js"></script>\n</head>|i"
</Location>


Regards,

Marco
 
Back
Top