944,159 Members | Top Members by Rank

Mar 22nd, 2005
0

Apache - Virtual Directory

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
roda is offline Offline
11 posts
since Jul 2004
Mar 23rd, 2005
0

Re: Apache - Virtual Directory

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
Moderator
Staff Writer
Reputation Points: 154
Solved Threads: 18
Linux Reject
blud is offline Offline
570 posts
since Apr 2004
Mar 24th, 2005
0

Re: Apache - Virtual Directory

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
roda is offline Offline
11 posts
since Jul 2004
Mar 24th, 2005
0

Re: Apache - Virtual Directory

Just for kicks try it with a \ ...

DocumentRoot "Z:\Temp"
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Mar 24th, 2005
0

Re: Apache - Virtual Directory

Hi,

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

Thanks,

Roda
Reputation Points: 10
Solved Threads: 0
Newbie Poster
roda is offline Offline
11 posts
since Jul 2004
Mar 26th, 2005
0

Re: Apache - Virtual Directory

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
roda is offline Offline
11 posts
since Jul 2004
Mar 26th, 2005
0

Re: Apache - Virtual Directory

I found some info at this link , dunno if it will be helpful or not...
Reputation Points: 17
Solved Threads: 14
Posting Whiz
DanceInstructor is offline Offline
355 posts
since Feb 2005
Jul 20th, 2005
0

Re: Apache - Virtual Directory

Virtual Host in apache is making one apache server appear to run two or more webservers on one serer.

What you are looking for is an alias
Check out this page: http://httpd.apache.org/docs-2.0/mod...ias.html#alias
Reputation Points: 10
Solved Threads: 0
Newbie Poster
simoncharris is offline Offline
1 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: Setting up Apache
Next Thread in Linux Servers and Apache Forum Timeline: Please help ! A newb needs help with apache !





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC