Apache - Virtual Directory

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache - Virtual Directory

Postby roda » 22. March 2005 11:59

Hi,

So far, I worked with IIS. So I can map network drive and create a virtual directory from the maped drive.

Now, I have moved to Apache, but I don't know if Apache can do the same thing. Can anyone tell me? If can, how to do it?

Thanks in advance.
==============
Roda Aing
roda
 
Posts: 3
Joined: 22. March 2005 10:45
Location: Cambodia

Postby Wiedmann » 22. March 2005 14:05

Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Apache - Does alias work with mapped network drive??

Postby roda » 25. March 2005 07:58

Hi,

I have tried with Alias, but it didn't work with the mapped drive. It is working fine with local hard drive.

Note: I am running Apache on Windows 2000 server.

Any idea? please help!!

Thanks

Regards,

Roda
==============
Roda Aing
roda
 
Posts: 3
Joined: 22. March 2005 10:45
Location: Cambodia

Postby Wiedmann » 25. March 2005 08:54

Note: I am running Apache on Windows 2000 server.

:?:
You mean, you have Apache running as service?

I have tried with Alias, but it didn't work with the mapped drive.

In this situation, the Apache service must run under a user account which have access to the network share and you must use the UNC name ("//server/share/path") in the <Alias>- and <Directory>-Directives.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby roda » 25. March 2005 12:30

Hi,

I tried using UNC name as you told, but still didn't work.

NOTE: Apache is running as a system service.

Pleae have a look what i did:


Alias /temp/ "//10.1.3.7/public/temp/"

<Directory "//10.1.3.7/public/temp">
Options Indexes MultiViews
Allow from all
Order allow,deny
AllowOverride None
</Directory>


Is this correct?

Thank you.

Roda
==============
Roda Aing
roda
 
Posts: 3
Joined: 22. March 2005 10:45
Location: Cambodia


Return to Apache

Who is online

Users browsing this forum: No registered users and 28 guests