[opencms-dev] Problem with Installation of 7.0.4 using mod_proxy

Lori Boes lori at skysailtech.com
Tue May 13 20:04:00 CEST 2008


Claus,

Thanks for the reply. I caught the misspelling of "tomat" and it didn't
help. I have a resources dir in ${TOMCAT_HOME}, but there is no resources
dir in ${TOMCAT_HOME}/export/ if that's what you asked. Both
${TOMCAT_HOME}/resources & /export have permissions drwxr-xr-x. I'm confused
about something else, in the browser, I can see the localhost resources
directory, so for example I can view
http://localhost:8081/resources/buttons/anchor.jpg, but I cannot view the
same directory for my server -
http://xyz.myserver.com/resources/buttons/anchor.jpg.

Lori

-----Original Message-----
From: Claus Priisholm [mailto:claus.priisholm at gmail.com] On Behalf Of Claus
Priisholm
Sent: Tuesday, May 13, 2008 10:45 AM
To: lori at skysailtech.com
Cc: 'The OpenCms mailing list'
Subject: Re: [opencms-dev] Problem with Installation of 7.0.4 using
mod_proxy

Maybe it's just a typo - in your example the Directory-directive says 
"tomat" rather than "tomcat". Other than that I don't use mod_proxy but 
rather the mod_jk approach, so I cannot comment.
Anyway it is probably still interesting to know whether or not the 
resources actually gets written to export-folder in the "real" file 
system - that would indicate whether it is a write or read problem.

Lori Boes wrote:
> I believe the permissions are correct. Everyone has read permissions on
the
> directories & files. I couldn't find any Apache directory directives
denying
> access to that directory. My configurations are below. Maybe someone can
see
> something that I can't.
> 
> This is my opencms-importexport.xml:
> 
> <rendersettings>
> 	<rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
> 	<vfs-prefix>${CONTEXT_NAME}</vfs-prefix>
> 			...
> <exporturl>http://127.0.0.1:8081${CONTEXT_NAME}/handle404</exporturl>
> </rendersettings>
> 
> opencms-system.xml:
>     <sites>
>       <workplace-server>http://xyz.myserver.com</workplace-server>
>       <default-uri>/sites/default/</default-uri>
>       <site server="http://xyz.myserver.com" uri="/sites/default/"/>
>     </sites>
> 
> Here's my virtual hosts definition in the file
> /etc/apache2/sites-available/xyz.myserver.com:
> <VirtualHost *>
>     <Directory "/usr/local/tomat/webapps/ROOT/">
> 	Order allow,deny
> 	Allow from all
>     </Directory>
> 
>     ServerName xyz.myserver.com
> 
>     DocumentRoot "/usr/local/tomcat/webapps/ROOT/"
>     ErrorLog logs/error.log
>     
>     # Log only non-redirect requests in "normal" log file
>     SetEnvIf Request_URI "\/opencms\/*" redirect
>     CustomLog logs/localhost-access.log common env=!redirect
> 
>     ProxyPass         /opencms/                 !
>     RedirectPermanent /opencms/                 http://xyz.myserver.com/
> 
>     ProxyPass         /resources/               !
>     ProxyPass         /export/                  !
>     
>     ProxyPass         /
http://localhost:8081/opencms/
>     ProxyPassReverse  /
http://localhost:8081/opencms/
> </VirtualHost>
> 
> 
> -----Original Message-----
> From: Claus Priisholm [mailto:claus.priisholm at gmail.com] On Behalf Of
Claus
> Priisholm
> Sent: Monday, May 12, 2008 2:06 AM
> To: lori at skysailtech.com; The OpenCms mailing list
> Subject: Re: [opencms-dev] Problem with Installation of 7.0.4 using
> mod_proxy
> 
> Sounds like a permission problem (or a typo in the configuration of 
> mod_proxy). Does the resources exists? If so, it could be that your 
> Apache setup does not allow reading from that particular directory (look 
> for the Directory-directive)
> 
> /Claus
> 
> Lori Boes wrote:
>> Hi,
>>
>> I am reposting with hopes that someone can help. After installation of 
>> 7.0.4 with mod_proxy, the system is not able to see the /resouces
> directory.
>>  
>>
>> I successfully installed 7.0.4 and then followed the directions to remove
> the /opencms/opencms/ using mod_proxy according to the document
> "alkacon-documentation/howto_apache_httpd/mod_proxy.html." Our system is
> Ubuntu with Apache 2.0.55, and tomcat 5.5.23. I successfully removed the
> /opencms/opencms/, but my login page for OCMS has no formatting (can't see
> the /resources/commons/ directory) and when I login, still no formatting
and
> the left panel (where folders are displayed) displays the message:
> org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource
> from path "/resources/commons/empty.html". Can anyone give me any ideas on
> how to solve this? Thanks.
>>  
>>
>> Lori Boes
>>
>> Skysail Technology Associates, LLC
>>
>> 1328 N Wishon Avenue
>>
>> Fresno, CA 93728
>>
>> 559.355.4077
>>
>>  
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please
visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
-- 
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms




More information about the opencms-dev mailing list