Apache on local pc -> DocumentRoot on a remote nas [message #31979] |
Mon, 29 May 2006 07:57 |
Grab
Messages: 4 Registered: May 2006 Location: Fossalta di Piave - Venic...
Karma: 0
|
Junior Member |
|
|
Hi,
i have a problem i can't get out.
I have installed apache mysql and php on my pc with windows xp professional (I used XAMPP).
In my office there are few pc so i have to set the Document root of apache running on my pc to a remote nas with os Linux.
I set the folder on the nas as "net unit" and I gave it the letter "N" so now in the resource i can see C: D: and N:.
Than I set in the httpd.conf the new DocumentRoot
...
DocumentRoot "N:\works"
...
...
<Directory "N:\works">
...
The apache run on my pc with a user that is present also in the nas.
The folder on the nas has all permission.
The problem is that Apache crash in libra-1.dll.
Obviously if I set the Document Root on any folder of C: or D: (local disks) it works correctly.
Someone could help me?
Bye
|
|
|
Re: Apache on local pc -> DocumentRoot on a remote nas [message #31981 is a reply to message #31979] |
Mon, 29 May 2006 14:50 |
kenjb
Messages: 67 Registered: September 2004
Karma: 0
|
Member |
|
|
What happens when you make a shortcut on local to your mapped N:\, then set your httpd.conf to your shortcut on c:\? I'd probably just test using a shortcut to a simple index.html to start with.
So if it works what you wind up with is everything still on N:\ but local shortcuts to every file needed to run the site. Or does this defeat the purpose of having it on N:\?
OR if you're trying to serve from N:\ then setup everything local and symlink on the N:\ to all local files.
Just things I'd try myself.
kenjb
|
|
|
|
|
|
|
|
|
Re: Apache on local pc -> DocumentRoot on a remote nas [message #34140 is a reply to message #31979] |
Sun, 08 October 2006 03:06 |
shight
Messages: 1 Registered: October 2006 Location: Sydney, Australia
Karma: 0
|
Junior Member |
|
|
I use this in httpd.conf:
DocumentRoot "C:/Program Files/xampp/htdocs"
alias /websites D:\workspace\
<Directory D:/workspace/>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
So "localhost/websites" in the browser points to the workspace folder on my D drive, where all my websites are listed as working copies checked out from TortoiseSVN.
|
|
|