[users@httpd] Re: html files not in root directory

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

 



Am 2005-04-11 08:56:40, schrieb Bilal Dar:
> Hello,
> 
> I am not able to figure out which thing to use exactly. I have an html file
> "/var/zz/yy/ww/x.html", now I want to get it working. I am not sure exactly
> what do I need to use here maybe alias or something else.

Where is your DocumentRoot ?

If in "/var/zz/" then do

    cd /var/zz/yy/ww/
    ln -s x.html ../../x.html

and then in your httpd.conf

<Directory /var/zz>
    Options SymLinksIfOwnerMatch
</Directory>

> Thanks.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


[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