← Back to team overview

sslug-teknik team mailing list archive

Re: Så for nogen tid siden at man kunne include filer i Apache til et sslug møde men kan desvlærre ikke huske hvordan ?

 

On Tue, Sep 10, 2002 at 02:52:58PM +0200, Ricco Jensen wrote:
> Så for nogen tid siden at man kunne include filer i Apache til et sslug møde
> men kan desvlærre ikke huske hvordan ?
> 
> httpd.conf
> 
> <VirtualHost *>
>     ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxxxxx
>     DocumentRoot /www/docs/dummy-host.example.com
>     ServerName dummy-host.example.com
>     ErrorLog logs/dummy-host.example.com-error_log
>     CustomLog logs/dummy-host.example.com-access_log common
> </VirtualHost>
> 
> så skal det se sådan her ud
> 
> httpd.conf
> 
> # Fil ligger i /home/bruger/domfil
> 
> fileinclude /home/bruger/domfil

Jeg ville bruge Alias kommandoen - f.eks.:

Alias /domfil /home/bruger/domfil

Læs mere på: http://httpd.apache.org/docs/mod/mod_alias.html#alias

MVH David


Follow ups

References