- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
InternalJetty as WebEdit Server produces error
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?
- Labels:
-
Developers
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

