apache 1.3.24 htaccess/symbolic link problem

apache 1.3.24 htaccess/symbolic link problem

Post by chuc » Wed, 22 May 2002 05:44:54



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.

any help would be great.
chuck

 
 
 

apache 1.3.24 htaccess/symbolic link problem

Post by Joshua Sliv » Wed, 22 May 2002 06:06:07



> 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.

--
Joshua Slive

Apache HTTP Server Users Mailing List: http://httpd.apache.org/userslist.html

 
 
 

apache 1.3.24 htaccess/symbolic link problem

Post by chuc » Wed, 22 May 2002 15:04:51




> > 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

 
 
 

apache 1.3.24 htaccess/symbolic link problem

Post by Joshua Sliv » Wed, 22 May 2002 23:27:41



> 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".

Use Alias /page /usr/local/apache/httst-1/files1/page

See http://httpd.apache.org/docs-2.0/urlmapping.html

--
Joshua Slive

Apache HTTP Server Users Mailing List: http://httpd.apache.org/userslist.html

 
 
 

1. Problem building Apache 1.3.24 on Solaris 8

Hi,
Platform -- Solaris 8
Compiler -- GCC  3.0.3

I am getting "error: unknown opcode ".subsection" and ".previous" from "as" after during make.

I've run "./configure --prefix=/path --enable-module=most --enable-shared=max"  with no problem.

The only possibility that I see is that GCC is configured for "--with-as=/usr/local/bin/as" and I am using "/usr/ccs/bin/as". I don't seem to be able to get
"as" to tell me version or any other information. I've cruised through the GNU site and SunFreeware looking for "as" with no luck. Has anyone a clue about
what the problem might be here? I'm not as familiar with assemblers as I used to be.

thanks in advance.
--dk

2. RPC and > 16groups

3. Delay problems with Apache 1.3.24 and reverse proxy

4. KFM vs. cache

5. Problems with reverse proxy and Apache 1.3.24

6. Apache installation on Solaris 8

7. Restart problems with apache 1.3.24

8. Variables within commands

9. Apache 1.3.24 + mod_proxy + mod_rewrite + mod_perl problem

10. Apache 1.3.24 make install error

11. Apache 1.3.24 + mod_perl 1.26 + ipv6 patch build fails

12. 403 Error with Apache ver 1.3.24 RH7.3

13. Apache 1.3.24 - mod_proxy