View previous topic :: View next topic |
Author |
Message |
dublin123456 n00b
Joined: 02 Nov 2005 Posts: 2
|
Posted: Wed Nov 02, 2005 4:21 pm Post subject: How do I web share a directory with an aliase ? |
|
|
[post=][/post]Hi,
I'm totally new to linux and do not know the following ?
How do I web share a directory with an aliase ?
Thanks you. |
|
Back to top |
|
|
lopez n00b
Joined: 24 Jun 2004 Posts: 52 Location: Toledo, OH USA
|
Posted: Wed Nov 02, 2005 4:23 pm Post subject: |
|
|
Can you be more specific? Do you want to setup and Alias in Apache?
Thanks |
|
Back to top |
|
|
dublin123456 n00b
Joined: 02 Nov 2005 Posts: 2
|
Posted: Wed Nov 02, 2005 4:41 pm Post subject: |
|
|
Hi,
Not sure, apache is installed and also konqueror 3.3 (using KDE 3.3.0) ? I bacasically need a directory structure of the following :
c:\linuxcontentbox\testarea\web
I need to webshare "web" with "testarea" as the aliase on the "web" directory.
On a windows webserver, it's just a matter of a right click on the required directory - web sharing etc etc.
Thanks. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Wed Nov 02, 2005 7:42 pm Post subject: |
|
|
Hi.
You want to use an alias directive in apache. However, you certainly don't want to use c:\linuxcontentbox\testarea\web as the dir, since that doesn't exist in Linux.
In your apache config file, /etc/apache2/httpd.conf ?, set the following
Code: | Alias /testarea "/var/www/localhost/htdocs/testarea/web"
<Directory /var/www/localhost/htdocs/testarea/web>
Option FollowSymLinks
AllowOverride none
</Directory> |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
|