faqts : Computers : Internet : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

93 of 137 people (68%) answered Yes
Recently 6 of 10 people (60%) answered Yes


How do you create virtual directories on Apache much like you would on IIS by associating a folder on the hard drive with a folder on localhost?
I have the same problem like this, alias can on url but not use as virtual directory ex. <--#include

Oct 20th, 2000 21:08
Joshua Slive, Matt Schultz, Tom Mai, http://httpd.apache.org/docs/mod/mod_alias.html#alias

You are probably looking for the Alias directive:
Alias /webpath /physical/path
Will serve requests for http://yourhost/webpath
out of the directory /physical/path