Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with css file when DirectConnect is disabled



2006/8/31, Gilles MATHURIN <email@hidden>:

Is it normal ? Do i have to build and install the WOApp in a real
deployment way ? Any clue ?

No, you don't have to install your app. You have to make sure, that:

1. The path you give in your html is based on the webserver root
directory. This is normally /Library/WebServer/Documents on Mac OS X.
So you can refer to a css file that is in this directory with
href="/styles.css"

2. Make sure, the webserver user can access the stylesheet file
(permissions). If you have only a symlink in the webserver dir, the
whole path has to be readable by the webserver user (www).

3. I don't remember what the default is, but the apache webserver must
be allowed to follow symlinks (in the directory settings for the
default domain in the httpd.conf).

4. Apache has to be running on the machine. ;-)

cug

--
PostgreSQL Bootcamp, Big Nerd Ranch Europe, Nov 2006
http://www.bignerdranch.com/news/2006-08-21.shtml
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem with css file when DirectConnect is disabled (From: Gilles MATHURIN <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.