You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Scappatura Rocco <Ro...@infracom.it> on 2011/06/04 17:37:57 UTC
Preview of post
Hello,
I run Roller 5.0.0 on Windows with Tomcat 5.5.28 with Apache HTTPD in front of it.
I get a 'Page not found' error after I click the 'Full Preview' button after I edit a post.
To be more clear:
I click the 'Full Preview' button on the page:
<mysite>/roller/roller-ui/authoring/entryEdit.rol?weblog=blog&bean.id=bd4fb7f8-aef8-4679-90e1-4959e361d9bd
And I get the inexistent page:
<mysite>/roller-ui/authoring/preview/blog/?previewEntry=<post>
While the correct page preview is:
<mysite>/roller/roller-ui/authoring/preview/blog/?previewEntry=<post>
The link form my blog is:
<mysite>/<handle>/
While in 'Absolute URL to Site (if required)' field of server administration page I set <mysite> as value.
Here my HTTPD conf line that interest Proxy rule:
LoadFile modules/mod_proxy_html/libxml2.dll
LoadModule proxy_html_module modules/mod_proxy_html/mod_proxy_html.so
<IfModule mod_proxy.c>
ProxyHTMLLogVerbose On
LogLevel Debug
ProxyRequests off
ProxyPass /<handle> http://localhost:8081/roller/<handle>
ProxyPassReverse /<handle> http://localhost:8081/roller/<handle>
ProxyHTMLURLMap <mysite>/roller/<handle> /<handle>
ProxyHTMLURLMap http://localhost:8081/roller/<handle> /<handle>
ProxyPass /roller/ http://localhost:8081/roller/
ProxyPassReverse /roller/ http://localhost:8081/roller/
ProxyHTMLURLMap <mysite>/roller/ /roller/
ProxyHTMLURLMap http://localhost:8081/roller/ /roller/
ProxyPass /<somepath> !
ProxyPass ...... !
ProxyPass ........ !
</IfModule>
How I have to do so that the 'Full Preview' button works correctly?
Regards,
rocsca
Re: Preview of post
Posted by Dave <sn...@gmail.com>.
I'm not sure that I can help with this problem. I don't know much
about Apache HTTPD or how to run Tomcat behind it.
I don't believe anything preview-related has changed in Roller 5, so
I'm surprised you are seeing a difference here.
- Dave
On Sat, Jun 4, 2011 at 11:37 AM, Scappatura Rocco
<Ro...@infracom.it> wrote:
> Hello,
>
> I run Roller 5.0.0 on Windows with Tomcat 5.5.28 with Apache HTTPD in front of it.
>
> I get a 'Page not found' error after I click the 'Full Preview' button after I edit a post.
>
> To be more clear:
>
> I click the 'Full Preview' button on the page:
>
> <mysite>/roller/roller-ui/authoring/entryEdit.rol?weblog=blog&bean.id=bd4fb7f8-aef8-4679-90e1-4959e361d9bd
>
> And I get the inexistent page:
>
> <mysite>/roller-ui/authoring/preview/blog/?previewEntry=<post>
>
> While the correct page preview is:
>
> <mysite>/roller/roller-ui/authoring/preview/blog/?previewEntry=<post>
>
> The link form my blog is:
>
> <mysite>/<handle>/
>
> While in 'Absolute URL to Site (if required)' field of server administration page I set <mysite> as value.
>
> Here my HTTPD conf line that interest Proxy rule:
>
> LoadFile modules/mod_proxy_html/libxml2.dll
> LoadModule proxy_html_module modules/mod_proxy_html/mod_proxy_html.so
>
> <IfModule mod_proxy.c>
> ProxyHTMLLogVerbose On
> LogLevel Debug
>
> ProxyRequests off
>
> ProxyPass /<handle> http://localhost:8081/roller/<handle>
> ProxyPassReverse /<handle> http://localhost:8081/roller/<handle>
> ProxyHTMLURLMap <mysite>/roller/<handle> /<handle>
> ProxyHTMLURLMap http://localhost:8081/roller/<handle> /<handle>
>
> ProxyPass /roller/ http://localhost:8081/roller/
> ProxyPassReverse /roller/ http://localhost:8081/roller/
> ProxyHTMLURLMap <mysite>/roller/ /roller/
> ProxyHTMLURLMap http://localhost:8081/roller/ /roller/
>
> ProxyPass /<somepath> !
> ProxyPass ...... !
> ProxyPass ........ !
>
> </IfModule>
>
> How I have to do so that the 'Full Preview' button works correctly?
>
> Regards,
>
> rocsca
>