RE: [users@httpd] Alias - html problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Gunivortus Goos [mailto:Gunivortus.Goos@xxxxxxxxxxx] 
> Sent: Sunday, October 08, 2006 10:15 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] Alias - html problem
> 
> Hello ,
> 
> In my httpd.conf is configured:
> 
>  Alias /mp3am/ "E:/mp3/"
>    <Directory E:/mp3>
>    AllowOverride AuthConfig
>   </Directory>
> 
> In the directory E:/mp3 there's a html file, nice configured.
> It should look like this:
> 
> Filename                                        Size
> ------------------------------------------------------
> 10cc                                            DIR
> 2 Unlimited                                     DIR
> 
> Of course with backgroundcolor, a specific font and
> background colour.
> 
> However, Apache doesn't take the html files in that
> directory and the subdirectories at all, he (or is it
> A she?) creates html files of its own, looking like:
> 
>                Index of /mp3am/1
> Name                    Last modified       Size Description
> ------------------------------------------------------------
>  Parent Directory        07-Oct-2006 20:42    -
>  1995 - Paradisio Ams..> 07-Oct-2006 15:57    -
>  Harrie/                 07-Oct-2006 15:57    -
>  mp3-a-m.html            08-Oct-2006 09:44    1k
> 
> ------------------------------------------------------------
> Apache/1.3.29 Server at ggoos.net Port 80
> 
> How can I get that Apache takes the html files I created
> there myself in stead of creating its own??

You need to set DirectoryIndex to point to the file you want, eg:

See http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex for
details.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 



> 
> -- 
> Best regards,
>  Gunivortus
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux