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

Recommended Answers

Yes apache can do the same thing, Here is some documentation that might be very helpful:
http://httpd.apache.org/docs/vhosts/
http://httpd.apache.org/docs/vhosts/name-based.html

Jump to Post

Just for kicks try it with a \ ...

DocumentRoot "Z:\Temp"

Jump to Post

All 7 Replies

DK,

Now, I have got a litle bit understanding about virtual host.
I created a port-based virtual host as below, and it is working fine.

Listen 8080
<VirtualHost *:8080>
ServerName graph.3tel.com.kh
DocumentRoot "C:/Temp"
</VirtualHost>

Note: C: is local hard drive.

But when I changed DocumentRoot to "Z:/Temp" where Z: is a maped drive, it was not working. And I got the following error message:

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Did I miss any configuration? Or anything wrong? Please help.

Kind Regards,

Roda

Just for kicks try it with a \ ...

DocumentRoot "Z:\Temp"

Hi,

I tried it, but still didn't work. The same error message displayed.

Thanks,

Roda

Hi,

Anyone have any idea to help me on this problem? I'm stuck with it.

Please help!!!!

Thank you in advance for any help.

Roda

I found some info at this link , dunno if it will be helpful or not...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.