westcoaststyle
Programmer
Hello all, I've been banging my head against my monitors all day today trying to figure out what is going on with some of my Apache hosted sites.
The configuration was done prior to my taking the administration over and I'm no Apache guru so... now you know what I'm dealing with.
I have one site and a file within the Apache config files for my website. On the same server and within the same Apache config directory I have a file for my website. These configuration files are fairly similar and I've basically copied all that I can between the two to get this working.
Here's the code in a "inlinePerl.html" file I created that I will reference below:
The situation is: if I put the aforementioned code in an .html file within the site folders (/export/home/ configured by the file then it spits out all HTML to the client, resulting in:
If I do the same thing in an .html file within the site folders (/export/home/ configured by the file it will not show me the THIS IS PERL in the browser. The source code at that point still shows the
instead of the desired
I've searched the entire server for "Mason" and "Embperl" (upper and lower case), but haven't found anything.
I can NOT figure this out. Any ideas?
I looked in the httpd.conf file for any indication of Perl packages that might enable this functionality for www1 and not I need help on this ASAP.
Thanks
The configuration was done prior to my taking the administration over and I'm no Apache guru so... now you know what I'm dealing with.
I have one site and a file within the Apache config files for my website. On the same server and within the same Apache config directory I have a file for my website. These configuration files are fairly similar and I've basically copied all that I can between the two to get this working.
Here's the code in a "inlinePerl.html" file I created that I will reference below:
Code:
<html>
<body>
<p>THIS IS HTML</p>
<%perl
qq[<p>THIS IS PERL</p>];
%>
</body>
</html>
The situation is: if I put the aforementioned code in an .html file within the site folders (/export/home/ configured by the file then it spits out all HTML to the client, resulting in:
Code:
THIS IS HTML
THIS IS PERL
If I do the same thing in an .html file within the site folders (/export/home/ configured by the file it will not show me the THIS IS PERL in the browser. The source code at that point still shows the
Code:
<%perl
qq[<p>THIS IS PERL</p>];
%>
instead of the desired
Code:
<p>THIS IS PERL</p>
I've searched the entire server for "Mason" and "Embperl" (upper and lower case), but haven't found anything.
I can NOT figure this out. Any ideas?
I looked in the httpd.conf file for any indication of Perl packages that might enable this functionality for www1 and not I need help on this ASAP.
Thanks