SCIENTIFIC-LINUX-USERS Archives

April 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Wed, 4 Apr 2012 01:32:39 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
On 04/04/2012 01:23 AM, Mike Chan wrote:
> Hi z,
> my vhost document root is /var/www/virtual. I have also set my
> configuration with:
> Options Indexes FollowSymLinks
>
> I did not get any error. I simply did not see the soft links when I
> tried to access my server on the web.

Can you paste the output of:

ls -Z /var/www

and

ls -Z /var/www/virtual

?

That would help. Also, the "Options Indexes FollowSymLinks" direcive 
needs to be like this:

<VirtualHost *:80>
	...(your server settings)...
	<Directory /var/www/virtual>
		Options Indexes FollowSymLinks
	</Directory>
	...(maybe other server settings
</VirtualHost>

And... one last thing... on mailing lists it is considered polite to 
post your reply at the bottom of the message, not the top -- because it 
is confusing for people to read from the bottom of the message to the 
top to understand the conversation.

-z

ATOM RSS1 RSS2