Apache - Virtual Directory

Reply

Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Apache - Virtual Directory

 
0
  #1
Mar 22nd, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 508
Reputation: blud will become famous soon enough blud will become famous soon enough 
Solved Threads: 16
Moderator
Staff Writer
blud blud is offline Offline
Linux Reject

Re: Apache - Virtual Directory

 
0
  #2
Mar 23rd, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Re: Apache - Virtual Directory

 
0
  #3
Mar 24th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: Apache - Virtual Directory

 
0
  #4
Mar 24th, 2005
Just for kicks try it with a \ ...

DocumentRoot "Z:\Temp"
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Re: Apache - Virtual Directory

 
0
  #5
Mar 24th, 2005
Hi,

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

Thanks,

Roda
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Re: Apache - Virtual Directory

 
0
  #6
Mar 26th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 355
Reputation: DanceInstructor is an unknown quantity at this point 
Solved Threads: 14
DanceInstructor's Avatar
DanceInstructor DanceInstructor is offline Offline
Posting Whiz

Re: Apache - Virtual Directory

 
0
  #7
Mar 26th, 2005
I found some info at this link , dunno if it will be helpful or not...
Clear Mind Hosting and Web Design

If I've helped you please consider adding to my reputation.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1
Reputation: simoncharris is an unknown quantity at this point 
Solved Threads: 0
simoncharris simoncharris is offline Offline
Newbie Poster

Re: Apache - Virtual Directory

 
0
  #8
Jul 20th, 2005
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC