[Laszlo-user] Document root, htdocs, webroot?
P T Withington
ptw at openlaszlo.org
Fri Jul 13 10:23:52 PDT 2007
On 2007-07-13, at 11:53 EDT, Frisco Del Rosario wrote:
> A bit of user documentation said "[foo] is as simple as extracting
> … zip file into the DocumentRoot, htdocs, or webroot of your
> webserver". (Just like the OL docs: everything is "as simple as
> blasm", wrongly assuming that the reader already knows all about
> blasm.)
>
> In OpenLaszlo world, what is the DocumentRoot, htdocs, or webroot
> of my webserver?
>
> Is webserver==LPS?
webserver == tomcat or whatever equivalent you are using. We can't
be more specific, because each server has a different convention for
'document root', but it is the place in the file system that
corresponds to the web address of your site. For example, in Apache,
you create a mapping by:
<VirtualHost *:80>
DocumentRoot /www/domain
ServerName www.domain.tld
...
</VirtualHost>
So, when you fetch www.domain.tld/whatever.html, Apache returns the
contents of /www/domain/whatever.html. (Modulo any sort of
rewriting, mapping, etc.)
More information about the Laszlo-user
mailing list