[TYPO3-UG Dutch] proxy probleem rss-feed
Remco Zwaan
RZwaan at fdc.nl
Thu Mar 29 17:47:10 CEST 2007
Hi..list..
Heb een probleem mbt de url van de XML-feeds die ik aanbied op ons
extranet. De server bestaat uit 1 hoofdserver met 2vmware-sessies....met
beide een ubuntu-distrubutie. Op de hoofdserver komen de http-requests
binnen en worden dmv mod_proxy "doorgestuurd" naar een van de
vmware-sessie (non-pubik ip)
************************************************************************
************************************************
<VirtualHost *>
ServerName www.testdomein.nl
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
ProxyPass / http://10.0.0.40/
ProxyPassReverse / http://10.0.0.40/
# ProxyHTMLURLMap /confluence/ /
</VirtualHost>
************************************************************************
*************************************************
Als ik nu de XML-feed check dan zie ik daar het non-public IP
(10.0.0.40) instaan ipv het publieke IP nummer.....onderstaand script
XML-feed
Constant
xmlnewsfeed_id = 272
plugin.tt_news {
pid_list = 272
singlePid = 266
}
Setup
plugin.tt_news {
displayXML {
# rss091_tmplFile = EXT:tt_news/res/rss_0_91.tmpl
# rdf_tmplFile = EXT:tt_news/res/rdf.tmpl
# atom03_tmplFile = EXT:tt_news/res/atom_0_3.tmpl
# atom1_tmplFile = EXT:tt_news/res/atom_1_0.tmpl
rss2_tmplFile = EXT:tt_news/res/rss_2.html
# possibile values: rss091 / rss2 / rdf / atom03 / atom1
xmlFormat = rss2
xmlTitle = Rente Nieuws
xmlLink = http:// www.testdomein.nl
xmlDesc = Rente Nieuws
xmlLang = nl
xmlIcon = fileadmin/tt_news_article.gif
title_stdWrap.htmlSpecialChars = 1
title_stdWrap.htmlSpecialChars.preserveEntities = 1
subheader_stdWrap.stripHtml = 1
subheader_stdWrap.htmlSpecialChars = 1
subheader_stdWrap.htmlSpecialChars.preserveEntities = 1
subheader_stdWrap.crop = 100 | ... | 1
subheader_stdWrap.ifEmpty.field = bodytext
xmlLastBuildDate = 1
}
}
xmlnews = PAGE
xmlnews {
typeNum = 100
10 >
10 < plugin.tt_news
10.pid_list >
10.pid_list = {$plugin.tt_news.pid_list}
10.singlePid = {$plugin.tt_news.singlePid}
10.defaultCode = XML
10.categoryMode = 1
10.categorySelection = 17
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
no_cache = 1
xhtml_cleaning = 0
}
}
## To get an additional RDF feed add the following
rdffeed = PAGE
rdffeed < xmlnews
rdffeed {
10.displayXML.xmlFormat = rdf
10.displayXML.xmlIcon = fileadmin/feed_icon_88x31.gif
typeNum = 101
}
## To get an additional Atom 0.3 feed add the following
atom03feed = PAGE
atom03feed < xmlnews
atom03feed {
10.displayXML.xmlFormat = atom03
typeNum = 102
}
## To get an additional Atom 1.0 feed add the following
atom1feed = PAGE
atom1feed < xmlnews
atom1feed {
10.displayXML.xmlFormat = atom1
typeNum = 103
}
Heeft iemand hier een oplossing voor....please help!!!!!
Groetjes...remco
More information about the TYPO3-UG-dutch
mailing list