Results 1 to 2 of 2
So I finally got Apache2 up and running (still getting used to the whole installation process) and I was wondering if there was a way to set different directories like ...
- 01-11-2006 #1Linux Newbie
- Join Date
- Dec 2005
- Posts
- 187
Quick Apache2 Question
So I finally got Apache2 up and running (still getting used to the whole installation process) and I was wondering if there was a way to set different directories like different letters or something So if someone were to connect to http://jeffrey.dynalias.com/D they could access my /home/jeffrey directory or something like that? If so, how would I do that?
Edit: And would I be able to set an alias to mounted directories. Like would /C be able to access /media/windows or anything, and if so, how would I do that?
- 01-12-2006 #2Linux User
- Join Date
- Apr 2005
- Location
- Ohio
- Posts
- 326
http://httpd.apache.org/docs/2.0/mod/mod_alias.html
The directives contained in this module allow for manipulation and control of URLs as requests arrive at the server. The Alias and ScriptAlias directives are used to map between URLs and filesystem paths. This allows for content which is not directly under the DocumentRoot served as part of the web document tree. The ScriptAlias directive has the additional effect of marking the target directory as containing only CGI scripts.far...out


Reply With Quote
