[opencms-dev] get 404 page when Change default sites in opencms-system.xml

Thanh Ly thanh_ly21 at yahoo.com
Wed May 27 04:09:47 CEST 2009


Hi,

I create a news site under /sites/leasing/ (do not using /sites/default/),
if I login the Workplace, select the Leasing in site selector and view
pages, it work fine, I publish it and go to change the file
opencms-system.xml as follows:

<sites>
            <workplace-server>http://kiosksvr1.icb.com.vn</workplace-server>
            <default-uri>/sites/leasing/</default-uri>
            <site server="http://kiosksvr1.icb.com.vn"
uri="/sites/leasing/"/>
</sites>

restart server, and view my site I got 404 page, then I login the Workplace
I can view my site, but when I logout, I got 404 page again.

If I rollback to 
<sites>
            <workplace-server>http://kiosksvr1.icb.com.vn</workplace-server>
            <default-uri>/sites/default/</default-uri>
            <site server="http://kiosksvr1.icb.com.vn"
uri="/sites/default/"/>
</sites>
the default site is work fine.

so what is my problem?
please help me!
-- 
View this message in context: http://www.nabble.com/get-404-page-when-Change-default-sites-in-opencms-system.xml-tp23734834p23734834.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list