Howard Kaikow wrote:Do all files that may be processed by XAMPP Lite have to live under S:\xampplite\htdocs\xampp\?
Or, is it possible to construct a URL that refers to files anywhere on the PC?
Accessible files in the Lite version (and the full version) live under the
DocumentRoot as defined in the httpd.conf file - by default C:\xampplite\htdocs\ - URI
http://localhost/Any files outside the DocumentRoot are restricted by this entry in the
apache\conf\httpd.conf file:
- Code: Select all
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
Advisable, for obvious security reasons, to leave this as is.
To configure your files and folders outside the
DocumentRoot look at the
Alias or
<VirtualHost> directives - some
Alias examples are already configured in the
apache\conf\\extras\httpd-xampp.conf file and there are some examples of
<VirtualHost> in the
apache\conf\\extras\httpd-vhosts.conf file, with even more examples from an advanced forum search.
Some Apache reading here:
Directives -
http://httpd.apache.org/docs/2.2/mod/directives.htmlAlias -
http://httpd.apache.org/docs/2.2/mod/mo ... html#alias<VirtualHosts> -
http://httpd.apache.org/docs/2.2/vhosts/