Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Some Html Questions, playing with Apache 2
post Mar 28 2004, 02:01 PM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069


I just started playing with apache 2 , and I know how to add music, and other stuff...

but I would like to know how do you make that , for example if someone clicks on a link, then it opens up my /home/music directory in his explorer , how do you do this?

Robert B

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post
post Mar 28 2004, 04:27 PM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

If you put this option in your httpd.conf:

In your httpd.conf, add this (I would put it after the /manual section....):

Alias /test "/tmp/test"
<Directory "/tmp/test">
   Options Indexes
   AllowOverride None
   Order allow,deny
   Allow from all

then create a the directory /tmp/test ... put files in it, with no index.html and it should list the files.... (The Indexes option is what allows it...) (You have to restart httpd with /etc/init.d/httpd restart after editing httpd.conf).

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 09:47 AM