On Jan 17, 2008, at 18:08 , Antonio Malcolm wrote:
Your first message said you had "Apache configured to handle html
and php files", which really sounds suspicious, as it should
delegate everything to jk. Did you have a look at this page on the
wiki?
http://wiki.magnolia.info/display/WIKI/RunningMagnoliaWithApache
Well, the point to using mod_jk is make things more efficient by
having Apache http handle html. Tomcat will do the job, just not as
quickly. Also, Tomcat doesn't do PHP.
However, I'm using the jkMount directive to determine which server
handles what, if that's what you're referring to.
Interesting, so that means you want to serve some content from plain
html files on your filesystem, and some other from Magnolia, for the
same site... You'll probably want to change the defaultExtension
property, then, which is by default set to .html, thus having
Magnolia generating ".html" links by default.
One down, database connectivity to go. And just maybe I'll take a
deeper look at my connector settings. There's nothing wrong with
them, per say, there are no more errors in the logs (maybe a good
reason for this happenstance), but maybe I can tweak them to give
my server setup greater dexterity.
If you're starting from scratch, just edit WEB-INF/config/default/
magnolia.properties, and change the
"magnolia.repositories.jackrabbit.config" property from "WEB-INF/
config/repo-conf/jackrabbit-derby-search.xml" to "WEB-INF/config/
repo-conf/jackrabbit-mysql-search.xml", before the first start of
Magnolia. If not and you don't care about your current content,
just drop the repositories directory, change the property and
restart.
All my content is currently in my JSP-based site, so I don't have
any content yet in the Magnolia install (the goal was to find a
Java-based CMS which would allow me to use my JSP files as a
template with just a little configuring, and I think I've now found
just that). I figured I had to edit the properties file for the
mysql dependency after looking around the file structure and
examining individual files, but had no clue about the repositories
directory, so a definite thanks for that.
Glad i helped :)
-g
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------