| | |
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
http://httpd.apache.org/docs/vhosts/
http://httpd.apache.org/docs/vhosts/name-based.html
•
•
Join Date: Jul 2004
Posts: 11
Reputation:
Solved Threads: 0
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
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
•
•
Join Date: Jul 2005
Posts: 1
Reputation:
Solved Threads: 0
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
What you are looking for is an alias
Check out this page: http://httpd.apache.org/docs-2.0/mod...ias.html#alias
![]() |
Similar Threads
- This Virtual Directory requires a browser that supports the configured encryption opt (PHP)
- giving a virtual directory an alias (Windows Servers and IIS)
- IIS5 - Virtual Directory - SharedFolder Other Drive (Windows NT / 2000 / XP)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Setting up Apache
- Next Thread: Please help ! A newb needs help with apache !
| Thread Tools | Search this Thread |
.net apache asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm infringements java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





