LayoutIgnoreTag ISSUE
"Charles Venomous" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
i have installed mod_layout 2.11.14 the only that works on my system. All
works well except for the directives LayoutIgnoreTag. In fact right now i
have tried to installed a bulletin board on the virtual host (phpbb) and i
can't see the administration panel, cause it use the frames and mod_layout
add code to it.
The original code is this:
<html>
<head>
<title>phpBB Administration</title>
<meta http-equiv="Content-Type" content="text/html;">
</head>
<frameset cols="170,*" rows="*" border="2" framespacing="0"
frameborder="yes">
<frame src="index.php?pane=left&sid=e7238ad05ef02ff65872f1167d00e6c7"
name="nav" marginwidth="3" marginheight="3" scrolling="auto">
<frame src="index.php?pane=right&sid=e7238ad05ef02ff65872f1167d00e6c7"
name="main" marginwidth="10" marginheight="10" scrolling="auto">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
<p>Sorry, your browser doesn't seem to support frames</p>
</body>
</noframes>
</html>
but with mod_layout became:
<p align="center">
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random =
phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript'
type='text/javascript' src='");
document.write ("http://adserver.****.com/adjs.php?n=" + phpAds_random);
document.write ("&clientid=2&target=_new");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://adserver.****.com/adclick.php?n=a01f4e2e'
target='_new'><img
src='http://adserver.*****.com/adview.php?clientid=2&n=a01f4e2e'
border='0' alt=''></a></noscript>
</p>
<html>
<head>
<title>phpBB Administration</title>
<meta http-equiv="Content-Type" content="text/html;">
</head>
<frameset cols="170,*" rows="*" border="2" framespacing="0"
frameborder="yes">
<frame src="index.php?pane=left&sid=350681a4241e7c7c5f5f0622cbf6f7ef"
name="nav" marginwidth="3" marginheight="3" scrolling="auto">
<frame src="index.php?pane=right&sid=350681a4241e7c7c5f5f0622cbf6f7ef"
name="main" marginwidth="10" marginheight="10" scrolling="auto">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
<p>Sorry, your browser doesn't seem to support frames</p>
</body>
</noframes>
</html>
<center><b>sponsor</b></center><br>
<p align="center">
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random =
phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript'
type='text/javascript' src='");
document.write ("http://adserver.****.com/adjs.php?n=" + phpAds_random);
document.write ("&clientid=3");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://adserver.****.com/adclick.php?n=a6e8199e'
target='_blank'><img
src='http://adserver.*****.com/adview.php?clientid=3&n=a6e8199e'
border='0' alt=''></a></noscript>
</p>
I have added the directive LayoutIgnoreTag to ht httpd.conf but no luck,
tried several combination LayoutIgnoreTagHeader LayoutIgnoreFooter added
several tag but nothing still shosws header and footer on the page with
frame.
Right now i have added this to my httpd.conf:
LayoutHeader /home/layout/header.html
LayoutFooter /home/layout/footer.html
LayoutIgnoreTagHeader </frameset>
LayoutIgnoreTagHeader <frameset>
LayoutIgnoreTagHeader <noframes>
LayoutIgnoreTagHeader </noframes>
LayoutIgnoreTagHeader <frame>
still nothing.
Sorry for the long message, any reply is very welcome.
Thanks in advance.
_________________________________________________________________
Filtri antispamming e antivirus per la tua casella di posta
http://www.msn.it/msn/hotmail