Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I web share a directory with an aliase ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dublin123456
n00b
n00b


Joined: 02 Nov 2005
Posts: 2

PostPosted: Wed Nov 02, 2005 4:21 pm    Post subject: How do I web share a directory with an aliase ? Reply with quote

[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
View user's profile Send private message
lopez
n00b
n00b


Joined: 24 Jun 2004
Posts: 52
Location: Toledo, OH USA

PostPosted: Wed Nov 02, 2005 4:23 pm    Post subject: Reply with quote

Can you be more specific? Do you want to setup and Alias in Apache?

Thanks
Back to top
View user's profile Send private message
dublin123456
n00b
n00b


Joined: 02 Nov 2005
Posts: 2

PostPosted: Wed Nov 02, 2005 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Wed Nov 02, 2005 7:42 pm    Post subject: Reply with quote

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. :wink:
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum