[opencms-dev] Remove /opencms/opencms problem

Sebastian Himberger sebastian.himberger at gmx.de
Mon Jul 10 16:57:14 CEST 2006


Looks like apache does not allow the export folder to be read. Have you 
tried the following in your apache config:

<Directory /path/to/your/export/folder>
# adjust if necessary
Allow from all
</Directory>

HTH
Sebastian

Mr Alireza Fattahi schrieb:
> Hi,
>
> Thanks for your help.
> The error was gone! I don't know why, but I think it was becuase my 
> fire fox was started in Safe Mode. I logged off and logged windows and 
> restart FireFox every thing is correct now!
>
> I got another problem :(
> I create a page in offline site named mypage.html and publish it.
>
> Then I switch the online site and try to access mypage.html from 
> "other pages". For example open page aPage.html that has a link to 
> mypage.html.
> I got the error:
> ******************
> Forbidden
> You don't have permission to access 
> /export/mysite/fa/products/mypage.html on this server.
> Apache/2.0.58 (Win32) mod_jk/1.2.15 Server at localhost Port 80
> *******************
>
> Now I go to workplace and click on mypage.html in worksplace, the page 
> will be displayed corretly!
> Intersting thing is that I will never get error with that page any more.
> That is I did NOT see error agian if I open aPage.html and click on 
> mypage.html.
> It seems that the error is displayed only once and will vanish if I 
> visit the page directly.
>
> Regards,
> Alireza Fattahi
>
> */Sebastian Himberger <sebastian.himberger at gmx.de>/* wrote:
>
>     Hi,
>
>     hearing the word session one thing comes to my mind: Have you changed
>     the "this.servpath" variable as described? This must be done in
>     /system/workplace/views/top_js.jsp because in OpenCms 6.2 the
>     location
>     has changed (in regard to the values described in the howto). Is
>     opencms-importexport.xml configured correctly?
>
>     Please feel free to ask :)
>
>     best regards
>     Sebastian
>
>     Mr Alireza Fattahi schrieb:
>     > Hi,
>     >
>     > Thanks for your help!
>     > I got below:
>     > 1)apache-tomcat-5.5.17
>     > 2)MySql 5.0
>     > 3)Apache 2.0.58
>     > 4)mod_jk-1.2.16.apache-2.0.55.so
>     > 5)opencms_6.2.1
>     >
>     > I want to re-emphasis that it works with IE but not FirFox.
>     > Another stranger behavior:
>     > When I enable the “login message” it keeps popup by each click!
>     >
>     > It seems to be some thing related to session!
>     >
>     > *****Server.xml
>     >
>     > enableLookups="false" emptySessionPath="true" protocol="AJP/1.3" />
>     >
>     > *****httpd.conf
>     >
>     > ServerName localhost
>     > JkMount /opencms ajp13
>     > JkMount /opencms/* ajp13
>     > SetEnvIfNoCase Request_URI ^/opencms/resources/.*$ no-jk
>     > SetEnvIfNoCase Request_URI ^/export/.*$ no-jk
>     >
>     > RewriteEngine on
>     > RewriteCond %{REQUEST_URI} !^/opencms/resources/.*$
>     > RewriteCond %{REQUEST_URI} !^/export/.*$
>     > RewriteRule !^/opencms/opencms/(.*)$
>     /opencms/opencms%{REQUEST_URI} [PT]
>     > RewriteCond %{REQUEST_URI} ^/export/.*$
>     > RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
>     > RewriteCond
>     "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f
>     > RewriteRule .*
>     >
>     /opencms/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING}
>     [P]
>     > RewriteCond %{REQUEST_URI} ^/opencms/resources/.*$
>     > RewriteRule ^/opencms/(.*)$ /$1
>     > DocumentRoot "D:/Servers/apache-tomcat-5.5.17/webapps/opencms/"
>     > JkMount /* ajp13
>     >
>     >
>     > ***workers.property
>     > worker.list=ajp13
>     > worker.ajp13.type=ajp13
>     > worker.ajp13.host=localhost
>     > worker.ajp13.port=8009
>     > worker.ajp13.lbfactor=1
>     >
>     >
>     > Regards,
>     > Alireza Fattahi
>     >
>     > */Sebastian Himberger /* wrote:
>     >
>     > Hi,
>     >
>     > please send me your configuration files and more information about
>     > your
>     > environment (OpenCms 6.2), then i can easier help you to find the
>     > problem. Thanks very much.
>     >
>     > best regards
>     > Sebastian
>     >
>     >
>     > Mr Alireza Fattahi schrieb:
>     > > Hi,
>     > > I tried to remove the opencms context and following post:
>     > > http://opencms-forum.de/viewtopic.php?t=713
>     > >
>     > > I got strange behavior when I try to navigate the left tree, or
>     > when I
>     > > click the files or folders in the workplace.
>     > > For every click a windows popups with no content. The source of
>     > this
>     > > window is some thing like below (The page address is
>     > > /system/workplace/views/explorer/tree_files.jsp):
>     > >
>     > >
>     >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     > >
>     >
>     >
>     > >
>     > > This error is not happening when I try some pages in
>     > Administration view.
>     > >
>     > > I see this behavior in Fire Fox (1.5 ) browser, the IE seems to
>     > work fine.
>     > >
>     > > Regards,
>     > > Alireza Fattahi
>     > >
>     > > P.S: Every thing was fine before I tried to remove opencms content
>     > >
>     > >
>     >
>     ------------------------------------------------------------------------
>     > > To help you stay safe and secure online, we've developed the all
>     > new
>     > > Yahoo! Security Centre
>     > > .
>     > >
>     > >
>     >
>     ------------------------------------------------------------------------
>     > >
>     > >
>     > > _______________________________________________
>     > > 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
>     >
>     >
>     > _______________________________________________
>     > 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
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     > All New Yahoo! Mail
>     >
>     > – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     > _______________________________________________
>     > 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
>
>
>     _______________________________________________
>     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
>
>
> ------------------------------------------------------------------------
> All New Yahoo! Mail 
> <http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spamguard/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html> 
> – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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




More information about the opencms-dev mailing list