Jim,
How do most people use dspace with apache?
What connector do I use? I keep on hearing about something called
mod_webapp and there is an apache13.conf file for it, but there is no
mention of it on the dspace website.
-Brent
Brent Clements
Linux Technology Specialist
Information Technology
Rice University
On Wed, 28 Apr 2004, Jim Downing wrote:
> Caveat: I'm guessing here, I haven't done any JK stuff in a while.
>
> By the looks of your config file you're only redirecting calls to jsp
> files: -
>
> > JkMount /dspace/*.jsp ajp13
> > JkMount /dspace/admin/*.jsp ajp13
>
> A load of the calls in dspace are directed to the servlets by path name,
> without a suffix. Looking at the rest of your file it seems you'd need
>
> JkMount /dspace/admin ajp13
> JkMount /dspace/password-login ajp13
>
> etc etc etc...
>
> That seems pretty tedious, so I wonder if it wouldn't be better to
> remove the alias line for static content
>
> #Alias /dspace "/usr/local/dspace/jsp"
>
> And just mount all of dspace on the ajp13 connector:
>
> JkMount /dspace/* ajp13
>
> Don't know if this will work... :-) You wouldn't get apache serving the
> static content, but since this probably only amounts to a few images
> it's not really likely to hit your performance noticeably.
>
> jim
>
> On Wed, 2004-04-28 at 13:26, Brent M. Clements wrote:
> > Jim,
> > Here is what our mod_jk config file looks like.
> >
> > ########## Auto generated on Fri Apr 23 11:41:57 CDT 2004##########
> >
> > <IfModule !mod_jk.c>
> > LoadModule jk_module /etc/httpd/modules/mod_jk.so
> > </IfModule>
> >
> > JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties"
> > JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
> >
> > JkLogLevel debug
> >
> >
> >
> > <VirtualHost dspace.ir.rice.edu>
> > ServerName dspace.ir.rice.edu
> > # 2004/04 Set the Document Root to DSpace
> > #DocumentRoot /usr/local/tomcat/webapps/dspace
> >
> > #################### localhost:/admin ####################
> >
> > # Static files
> > Alias /admin "/usr/local/tomcat/webapps/../server/webapps/admin"
> > #Alias /admin "/usr/local/dspace/jsp/admin"
> >
> > <Directory "/usr/local/tomcat/webapps/../server/webapps/admin">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.html index.htm index.jsp
> > </Directory>
> >
> > #<Directory "/usr/local/dspace/jsp/admin">
> > # Options Indexes FollowSymLinks
> > # DirectoryIndex index.html index.htm index.jsp
> > #</Directory>
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/admin/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > <Location "/admin/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /admin/j_security_check ajp13
> > JkMount /admin/*.do ajp13
> > JkMount /admin/*.jsp ajp13
> >
> > #################### localhost:/webdav ####################
> >
> > # Static files
> > Alias /webdav "/usr/local/jakarta-tomcat-4.1.30/webapps/webdav"
> >
> > <Directory "/usr/local/jakarta-tomcat-4.1.30/webapps/webdav">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.jsp index.html index.htm
> > </Directory>
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/webdav/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > <Location "/webdav/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> > JkMount /webdav/*.jsp ajp13
> >
> > #################### localhost:/examples ####################
> >
> > # Static files
> > Alias /examples "/usr/local/tomcat/webapps/examples"
> >
> > <Directory "/usr/local/tomcat/webapps/examples">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.html index.htm index.jsp
> > </Directory>
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/examples/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> > <Location "/examples/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /examples/jsp/security/protected/j_security_check ajp13
> > JkMount /examples/snoop ajp13
> > JkMount /examples/servlet/* ajp13
> > JkMount /examples/CompressionTest ajp13
> > JkMount /examples/*.jsp ajp13
> > JkMount /examples/servletToJsp ajp13
> > JkMount /examples/SendMailServlet ajp13
> >
> > #################### localhost:/tomcat-docs ####################
> >
> > # Static files
> > Alias /tomcat-docs
> > "/usr/local/jakarta-tomcat-4.1.30/webapps/tomcat-docs"
> > <Location "/examples/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /examples/jsp/security/protected/j_security_check ajp13
> > JkMount /examples/snoop ajp13
> > JkMount /examples/servlet/* ajp13
> > JkMount /examples/CompressionTest ajp13
> > JkMount /examples/*.jsp ajp13
> > JkMount /examples/servletToJsp ajp13
> > JkMount /examples/SendMailServlet ajp13
> >
> > #################### localhost:/tomcat-docs ####################
> >
> > # Static files
> > Alias /tomcat-docs "/usr/local/jakarta-tomcat-4.1.30/webapps/tomcat-docs"
> >
> > <Directory "/usr/local/jakarta-tomcat-4.1.30/webapps/tomcat-docs">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.html index.htm index.jsp
> > </Directory>
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/tomcat-docs/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > <Location "/tomcat-docs/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /tomcat-docs/*.jsp ajp13
> >
> > #################### localhost:/dspace ####################
> >
> > # Static files
> > Alias /dspace "/usr/local/dspace/jsp"
> > #Alias /dspace "/usr/local/tomcat/webapps/dspace"
> >
> > <Directory "/usr/local/dspace/jsp">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.html index.htm index.jsp
> > </Directory>
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/dspace/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > <Location "/dspace/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /dspace/*.jsp ajp13
> > JkMount /dspace/admin/*.jsp ajp13
> > #################### localhost:/dspace-oai ####################
> >
> > # Static files
> > Alias /dspace-oai "/usr/local/dspace/oai"
> >
> > <Directory "/usr/local/dspace/oai">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.html index.htm index.jsp
> > </Directory>
> >
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/dspace-oai/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > <Location "/dspace-oai/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /dspace-oai/*.jsp ajp13
> >
> > #################### localhost:/manager ####################
> >
> > # Static files
> > Alias /manager "/usr/local/tomcat/webapps/../server/webapps/manager"
> >
> > <Directory "/usr/local/tomcat/webapps/../server/webapps/manager">
> > Options Indexes FollowSymLinks
> > DirectoryIndex index.html index.htm index.jsp
> > </Directory>
> >
> > # Deny direct access to WEB-INF and META-INF
> > #
> > <Location "/manager/WEB-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > <Location "/manager/META-INF/*">
> > AllowOverride None
> > deny from all
> > </Location>
> >
> > JkMount /manager/list ajp13
> > JkMount /manager/serverinfo ajp13
> > JkMount /manager/deploy ajp13
> > JkMount /manager/sessions ajp13
> > JkMount /manager/reload ajp13
> > JkMount /manager/html/* ajp13
> > JkMount /manager/resources ajp13
> > JkMount /manager/start ajp13
> > JkMount /manager/stop ajp13
> > JkMount /manager/install ajp13
> > JkMount /manager/*.jsp ajp13
> > JkMount /manager/roles ajp13
> > JkMount /manager/remove ajp13
> > JkMount /manager/undeploy ajp13
> > </VirtualHost>
> >
> >
> > Brent Clements
> > Linux Technology Specialist
> > Information Technology
> > Rice University
> >
> >
> > On Wed, 28 Apr 2004, Jim Downing wrote:
> >
> > > Hi Brent,
> > >
> > > this sounds like a jk configuration error. Could we send the mod_jk
> > > config please?
> > >
> > > jim
> > >
> > > On Wed, 2004-04-28 at 07:47, Brent M. Clements wrote:
> > > > Good Evening Everyone.
> > > >
> > > > I am trying to get Dspace 1.1.1 working on our server.
> > > >
> > > > We have the following software currently installed.
> > > >
> > > > Apache 2.0.40
> > > > Dspace 1.1.1
> > > > Jakarta Tomcat 4.1.30
> > > > Tomcat connectors jk
> > > >
> > > > Ok, this is the problem, we have set up everything as best we could using
> > > > all of the documentation available to us.
> > > >
> > > > If we go to http://dspaceservername/dspace/
> > > >
> > > > The dspace web page pops up....but if we try to visit any of the links
> > > > such as
> > > >
> > > > http://dspaceservername/dspace/admin (this pops us back to the url
> > > > http://dspaceservername/dspace/password-login and gives an "Object not
> > > > found error"
> > > >
> > > > The same goes for
> > > >
> > > > http://dspaceservername/dspace/community-list (this pops us to an "Object
> > > > not found error"
> > > >
> > > > What could be causing this?
> > > >
> > > > Thanks,
> > > >
> > > > Brent Clements
> > > > Information Technology
> > > > Rice University
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.Net email is sponsored by: Oracle 10g
> > > > Get certified on the hottest thing ever to hit the market... Oracle 10g.
> > > > Take an Oracle 10g class now, and we'll give you the exam FREE.
> > > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> > > > _______________________________________________
> > > > DSpace-tech mailing list
> > > > DSpace-tech@...
> > > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: Oracle 10g
> > > Get certified on the hottest thing ever to hit the market... Oracle 10g.
> > > Take an Oracle 10g class now, and we'll give you the exam FREE.
> > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> > > _______________________________________________
> > > DSpace-tech mailing list
> > > DSpace-tech@...
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@...
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
|