[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] apache2 DirectoryIndex på DocumentRoot



On Fri, 04 Jun 2010 16:02:06 +0200
Lars Madsen <sslug@sslug> wrote:

> Jeg sidder med et lidt underligt problem
> 
> Jeg har et domæne som bare er 'storage' for et forskningscenter. Det er video optagelser fra deres masterclasses og lignende. Det ligger de ud som mov-filer, så de er lidt for store for deres CMS.
> 
> Vi lægger dem så på et separat media domæne.
> 
> Jeg ville så godt have opsætningen af dette domæne til at være således at går jeg ind på
> 
> media.navn.tld
> 
> så giver apache mig en liste (Indexes) over folderne med det samme.
> 
> Den virtuelle host er sat op med
> 
> <VirtualHost *:80>
> 
>      ServerAdmin sslug@sslug
>      DocumentRoot /home/navn/media
>      ServerName media.navn.tld
>      ErrorLog  /var/log/httpd/error_log_navn
>      CustomLog  /var/log/httpd/access_log_tld common
> 
> 
> DirectoryIndex index.html index.htm index.php
> 
>      <Directory "/home/navn/media">
>          Options +Indexes +IncludesNOEXEC +FollowSymLinks
>          AllowOverride All
>          Order allow,deny
>          Allow from all
>      </Directory>
> </VirtualHost>
> 
> og så virker Directory Index find på underfoldere af /home/navn/media, men ikke i /home/navn/media selv
> 
> Går jeg ind på
> 
> media.navn.tld
> 
> så får jeg bare Apache Test siden.
> 
> Mens media.navn.tld/folder/ giver den forventede liste.
> 
> 
> Nogen der har en ide til hvordan jeg får DirectoryIndex på DocumentRoot også?
> 
Prøv at tilføje nedenstående til VirtualHost:
<Directory "/">
	Options +Indexes
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>

-- 
Hilsen/Regards
Michael Rasmussen
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
A computer is like air conditioning: it becomes useless when you open
windows.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-07-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *