On Fri, 20 Apr 2001, Kath wrote:

> I have the directory /var/www/shag/
>
> I want to link /var/www/kathweb/shag/ to it, so when someone goes to
> www.kathweb.net/shag/, the directory of shag/ is displayed.
>
> How do I do this?

Instead of symlinking, you can just use the Alias directive inside your
virtual host definition in httpd.conf:

<VirtualHost ...>
[...]
Alias /var/www/shag/ /shag/
[...]
</VirtualHost>

Nils
-- 
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
[EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.                  -- Edsger W. Dijkstra


_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to