Hi Ryan, 

I am using an up to date instance of Ubuntu 6.04 (Dapper Drake) to run my 
Magnolia site.  My Tomcat and Apache versions are different than yours, but it 
all should work the same.

Apache/2.0.55 (Ubuntu) 
mod_jk/1.2.14
Apache Tomcat/5.0.30

Here is some additional info about my setup that may help you understand the 
config files.  I have the public and author sites running on the same server.  
The author site is at  /magnoliaAuthor and the public site is the root webapp.  
I created a symlink in /var/www to point to the docroot folder of the public 
instance.  mod_jk is configured to pass all requests to the top level pages in 
my site and /magnoliaAuthor to Tomcat.  

One thing I'd recommend is making sure the site works from Tomcat first [e.g. 
http://localhost:8080/magnoliaAuthor ].

Hope that helps, 
Nathan

============================================


workers.properties:
--------------------------------------------
workers.tomcat_home=/var/lib/tomcat5
workers.java_home=/usr/lib/jvm/java-6-sun
 
ps=/
 
worker.list=worker1
 
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
worker.worker1.lbfactor=1
 
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=worker1
 
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
--------------------------------------------


mods-available/jk.load
--------------------------------------------
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so

JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
--------------------------------------------


sites-available/default
--------------------------------------------
NameVirtualHost *
<VirtualHost *>
        ServerAdmin [EMAIL PROTECTED]
        
        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                RedirectMatch ^/$ /home.html
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>
    
    JkMount /magnoliaAuthor worker1
    JkMount /magnoliaAuthor/* worker1
    JkMount /home worker1
    JkMount /home* worker1
    JkMount /sales worker1
    JkMount /sales* worker1
    JkMount /service worker1
    JkMount /service* worker1
    JkMount /community worker1
    JkMount /community* worker1
    JkMount /info worker1
    JkMount /info* worker1
    JkMount /privacy worker1
    JkMount /privacy* worker1
    JkMount /careers worker1
    JkMount /careers* worker1
    JkMount /sitemap worker1
    JkMount /sitemap* worker1

</VirtualHost>
--------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to