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

Re: [cobalt-users] Using symbolic links in DocumentRoot directive



I've never used the + before, but now that I look it up, it looks good. But I would try it without once to see if it had an impact.

I would also put the Directory directive outside the VirtualHost directive, but it might not make a difference.
<Directory /home/sites/site1/web/webhosting>
 Options +FollowSymLinks
</Directory>
<VirtualHost 216.206.133.54>
 ServerName webhosting.manitu.net
 ServerAlias www.webhosting.manitu.net
 DocumentRoot /home/sites/site1/web/webhosting
</VirtualHost>

Also make sure that there isn't an .htaccess file in /home/sites/site1/web/webhosting. The .htaccess file will override a Directory directive.

This is also worth a read: <http://www.apache.org/docs/sections.html>

-Dave


 > Where are you adding the FollowSymLinks directive?  Send that part
 > along.  I have a feeling that you placed that on an Options line in a
 > Directory context that is either the wrong one or is getting
 > overwritten somewhere later in the file.

One trial was the following:

    <VirtualHost 216.206.133.54>
    ServerName webhosting.manitu.net
    ServerAlias www.webhosting.manitu.net
    Options +FollowSymLinks
    DocumentRoot /home/sites/site1/web/webhosting
    </VirtualHost>

the other was

    <VirtualHost 216.206.133.54>
    ServerName webhosting.manitu.net
    ServerAlias www.webhosting.manitu.net
    <Directory /home/sites/site1/web/webhosting>
       Options +FollowSymLinks
    </Directory>
    DocumentRoot /home/sites/site1/web/webhosting
    </VirtualHost>

None of them worked.

David. Thank you very much for your affords to help me.


Manuel


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users

--
  David B. Peterson    Metagraphics, Inc.
1023 Corporation Way, Palo Alto, CA  94303
  650-964-4600 x225    FAX: 650-964-9575