mangelot
Verified User
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
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