> > hello,
> > I'm using apache 1.3.24 on solaris 8. I'm currently using .htaccess
> > to protect a vhost directory and this works fine. I want to be able
> > to use a symbolic link to point into that directory and call a page so
> > as to hide the directory structure. The symlink works but does not
> > read the .htaccess file. In my httpd.conf under the vhost my
> > <Directory> has the full path to the page.
> Make sure you have AllowOverride set appropriately for BOTH the link
> path and the real path.
> Also, consider using an Alias in place of a symlink. This often fits
> better into apache configuration schemes.
could you expand on what I need to set for the link and path? I have
multiple directories that I'm protecting under a vhost. Below is a
snippet from my httpd.conf of a directory setting for the main root
for one of my vhost:
#set up to use htacces for development site
<Directory /usr/local/apache/httst-1>
#Options None
Options FollowSymLinks
AllowOverride AuthConfig
Allow from All
</Directory>
below is one of the directories that is under the root of the vhost:
#set up to use htacces for auth
<Directory /usr/local/apache/httst-1/files1>
Options None
AllowOverride AuthConfig
Allow from All
</Directory>
I want to have a link or alias(?), is the alias that you mentioned a
UNIX thing or apache, in "/usr/local/apache/httst-1"(my doc root) that
points to a page in "/usr/local/apache/httst-1/files1" so as to hide,
in the URL, the fact that my files are in
"/usr/local/apache/httst-1/files1".
Thanks for the help