[pmwiki-users] which files must be in public_html
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 6 13:23:12 CDT 2006
On Wed, Sep 06, 2006 at 12:09:12PM -0500, JB wrote:
> > > What are the required files/directories that have to be available
> > > in public_html?
> >
> > Well, these don't have to be in public_html, but they do need
> > to be publicly available via *some* url (and PmWiki has to know
> > what the urls are):
> >
> > 1. The pmwiki.php script or a script that invokes it
> > 2. The pub/ directory
> > 3. If uploads are enabled, the uploads/ directory.
>
> So EVERYTHING in the wikifarm pub/ and the local pub/
> directories need to be publicly available via *some* url?
Anything that you expect a browser to be able to access has to be
available by *some* url. This includes .gif, .jpeg, .png, .js,
and .css, which is really all that pub/ needs to hold. (For
convenience we put the skin .tmpl files into pub/, but it's
not absolutely necessary and it's not normally any sort of
threat.)
> Why do wiki.d files need to be publicly available via *some* url,
> could not pmwiki.php include/read them from the file system?
I never said that wiki.d/ files have to be publicly available
via url, in fact it's better if it isn't. The only things
that have to be publicly available are the items I listed above.
Pm
More information about the pmwiki-users
mailing list