Author Topic: Apache config question  (Read 224 times)

Offline mietla

  • Gold Member
  • *****
  • Posts: 2276
Apache config question
« on: February 16, 2004, 09:21:52 PM »
How can I point an Apache server to DocumentRoot on the network drive (either mounted or UNC path).

Offline Pei

  • Silver Member
  • ****
  • Posts: 1903
Apache config question
« Reply #1 on: February 16, 2004, 09:53:08 PM »
Linux/Unix world & Apache 2:

You need to create symbolic link to the network resource then:
1) make sure the user running apache has permission to access the resource
2) make sure the options for the doucment root allow apache to follow symbolic links (see http://httpd.apache.org/docs-2.0/mod/core.html#options)

Win32 I haven't tried, but I imagine it would work in a similar way (obviously file system differences e.g. mapped drives rather than links etc.).

Apache 1 versions I can't recall.

See http://httpd.apache.org/docs-2.0/urlmapping.html
for more details.

Offline mietla

  • Gold Member
  • *****
  • Posts: 2276
Apache config question
« Reply #2 on: February 17, 2004, 12:13:51 AM »
Sorry, forgot to mention that I'm talking Windows here.