List Info

Thread: Broken css/js somehow




Broken css/js somehow
user name
2006-04-28 04:05:32
I manually edited blog.properties for the default blog on my
site and
now I get a 404 for the css and js files.

Specifically, I edited
webapps/blojsom/WEB-INF/default/blog.properties
and changed:

blog-base-url
blog-admin-url
blog-url

to reflect the live url of the site.  Even reverting the
changes results
in a 404 when trying to get
http
://blog-site-url/resources/default/ocean.css or even
http://blog-site-url/blojsom/blog/default/re
source/default/ocean.css

The ocean theme worked fine before the blog.properties
updates.
Reverting everything still leaves everything broken.  I
don't get it.


I did change server.xml to add aliases to the host tags for
host=localhost.  However, removing those and restarting
tomcat don't fix
the problem either.

-- 
Andrew


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Broken css/js somehow
user name
2006-04-28 13:27:40
Well, if you've deployed blojsom in the
"blojsom" context, the following
should work in blog.properties:

 blog-url=blog-site-url/blojsom/blog/default/
 blog-admin-url= blog-site-url/blojsom/blog/default/
 blog-base-url=blog-site-url/blojsom/

Try that.

On 4/28/06 12:05 AM, "blojsomrootme.org"
<blojsomrootme.org> wrote:

> I manually edited blog.properties for the default blog
on my site and
> now I get a 404 for the css and js files.
> 
> Specifically, I edited
webapps/blojsom/WEB-INF/default/blog.properties
> and changed:
> 
> blog-base-url
> blog-admin-url
> blog-url
> 
> to reflect the live url of the site.  Even reverting
the changes results
> in a 404 when trying to get
> http
://blog-site-url/resources/default/ocean.css or even
> http://blog-site-url/blojsom/blog/default/re
source/default/ocean.css
> 
> The ocean theme worked fine before the blog.properties
updates.
> Reverting everything still leaves everything broken.  I
don't get it.
> 
> 
> I did change server.xml to add aliases to the host tags
for
> host=localhost.  However, removing those and restarting
tomcat don't fix
> the problem either.

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )