johni
I'm new here

InternalJetty as WebEdit Server produces error

Jump to solution

I enabled the InternalJetty as Server for the WebEdit of project.

WebEdit starts fine (The toolbars are there) but thePreview didn't work. I always get a error:

Service Temporarily Unavailable, The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."

So what could cause thios error?

There is no message in the normal server log. Is there a separate one for the Jetty?

0 Kudos
1 Solution

Accepted Solutions
johni
I'm new here

Ok, i solved it myself.

There where actually two problems:

I use a Apache server to generate previews for PHP files and there was a configure error in my Apache config. The other problem was, that the Apache example config in the FirstSpirit documentation doesn't cover the case, when a project has it's own WebEdit application.

I had to change the following options:

Old rules:

RewriteCond %{REQUEST_URI} !^/fs5preview/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit/preview_cache

New rules:

RewriteCond %{REQUEST_URI} !^/fs5preview/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit_[0-9]*/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit_[0-9]*/preview_cache

View solution in original post

0 Kudos
1 Reply
johni
I'm new here

Ok, i solved it myself.

There where actually two problems:

I use a Apache server to generate previews for PHP files and there was a configure error in my Apache config. The other problem was, that the Apache example config in the FirstSpirit documentation doesn't cover the case, when a project has it's own WebEdit application.

I had to change the following options:

Old rules:

RewriteCond %{REQUEST_URI} !^/fs5preview/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit/preview_cache

New rules:

RewriteCond %{REQUEST_URI} !^/fs5preview/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit_[0-9]*/preview_cache

RewriteCond %{REQUEST_URI} !^/fs5webedit_[0-9]*/preview_cache

0 Kudos