OT:Apache question
Manuel Aróstegui Ramirez
manuaroste at yahoo.es
Fri Feb 20 18:04:42 UTC 2004
Rick Stevens <rstevens at vitalstream.com> wrote:
Mark Knecht wrote:
> This is very off topic for a RH Install list, so please excuse me.
>
> I'm determined not to become an Apache administrator in my home
> recording studio here, but I do have Apache running. All I want is a
> simple page that shows a list of file names when someone shows up at a
> specific address at my web address.
>
> http://marksmusic.blah.blah
>
> does resolve as a web page. How can I make
>
> http://marksmusic.blah.blah/files
>
> simply show all the files in a specific directory on this machine?
> Everything I try leads to messages about 'You don't have permission to
> access /files/ on this server' type messages.
>
> Most welcome would be some great little simple web page with a few
> instructions.
Why not get into your apache config file and do something like this:
Alias /files "/directory/where/the/files/are"
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
Stop and restart Apache after changing the file. Aiming your browser
at "http://www.your.site/files" will result in an index listing of the
"/directory/where/the/files/are" directory.
You also can try (as root) the apacheconf and look at all the options aviable.
Cheers
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- All generalizations are false. -
----------------------------------------------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe
--
Manuel Aróstegui Linux user 200896
---------------------------------
Antivirus #8226; Filtros antispam #8226; 6 MB gratis
¿Todavía no tienes un correo inteligente?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20040220/271ce658/attachment.htm>
More information about the Redhat-install-list
mailing list