You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brad Dick <z1...@gucis.cit-student.gu.edu.au> on 2000/08/04 09:04:03 UTC
[Apache::ASP] .htaccess permission denied in examples
I've tried installing Apache:ASP on my personal web server, but I can't
get any of the ASP files to work. Also, I can't seem to view the .htaccess
file from the eg directory that came with the installation. I'm running
Apache 1.3.12, mod_perl 1.24, and apache::asp 2.01. I think the reason the
asp files won't work has something to do with the permissions on the
.htaccess file. Can anyone help me? I feel so silly having to ask
something that seems so easy.
I get this error on clicking the .htaccess link on the example page.
_______________________________________________________________________________
Forbidden
You don't have permission to access /asp/eg/.htaccess on this server.
--------------------------------------------------------------------------------
Apache/1.3.12 Server at kk208.ocsstud.gu.edu.au Port 80
_______________________________________________________________________________
Here's the permissions on the eg directory:
_______________________________________________________________________________
total 64
drwxr-xr-x 2 brad brad 1024 Aug 1 20:24 .
drwxr-xr-x 4 brad brad 1024 Aug 1 19:54 ..
-rw-r--r-- 1 brad brad 135 Jul 23 09:00 .asp
-rw-r--r-- 1 brad brad 100 Jul 23 09:00 .bhtaccess
-rw-r--r-- 1 brad brad 1760 Aug 1 20:08 .htaccess
-rw-r--r-- 1 brad brad 344 Jul 23 09:00 DemoASP.pm
-rw-r--r-- 1 brad brad 685 Aug 1 20:17 application.asp
-rw-r--r-- 1 brad brad 762 Jul 23 09:00 binary_write.htm
-rw-r--r-- 1 brad brad 1806 Jul 23 09:00 cgi.htm
-rw-r--r-- 1 brad brad 545 Jul 23 09:00 counting.htm
-rw-r--r-- 1 brad brad 60 Jul 23 09:00 default.htm
-rw-r--r-- 1 brad brad 1573 Jul 23 09:00
dynamic_includes.htm
-rw-r--r-- 1 brad brad 436 Jul 23 09:00 error_document.htm
-rw-r--r-- 1 brad brad 1818 Jul 23 09:00 file_upload.asp
-rw-r--r-- 1 brad brad 100 Jul 23 09:00 footer.inc
-rw-r--r-- 1 brad brad 569 Jul 23 09:00 form.asp
-rw-r--r-- 1 brad brad 4461 Jul 23 09:00 global.asa
-rw-r--r-- 1 brad brad 2202 Jul 23 09:00
global_asa_demo.asp
-rw-r--r-- 1 brad brad 3108 Jul 23 09:00 header.inc
-rw-r--r-- 1 brad brad 418 Jul 23 09:00 include.htm
-rw-r--r-- 1 brad brad 60 Jul 23 09:00 index.htm
-rw-r--r-- 1 brad brad 1262 Jul 23 09:00 index.html
-rw-r--r-- 1 brad brad 1148 Jul 23 09:00
register_cleanup.asp
-rw-r--r-- 1 brad brad 2702 Jul 23 09:00 response.asp
-rw-r--r-- 1 brad brad 87 Jul 23 09:00 row.inc
-rw-r--r-- 1 brad brad 873 Jul 23 09:00 server.htm
-rw-r--r-- 1 brad brad 782 Jul 23 09:00
server_variables.htm
-rw-r--r-- 1 brad brad 1388 Jul 23 09:00 session.asp
-rw-r--r-- 1 brad brad 1346 Jul 23 09:00
session_query_parse.asp
-rw-r--r-- 1 brad brad 60 Aug 1 20:13 source.asp
-rw-r--r-- 1 brad brad 1284 Jul 23 09:00 source.inc
-rw-r--r-- 1 brad brad 835 Jul 23 09:00 ssi_filter.ssi
-rw-r--r-- 1 brad brad 1199 Jul 23 09:00 syntax_error.htm
-rw-r--r-- 1 brad brad 104 Jul 23 09:00 table.inc
-rw-r--r-- 1 brad brad 692 Jul 23 09:00 template.xsl
-rw-r--r-- 1 brad brad 2326 Jul 23 09:00 test.gif
-rw-r--r-- 1 brad brad 105 Jul 23 09:00 transfer.htm
-rw-r--r-- 1 brad brad 2832 Jul 23 09:00 xml_subs.asp
-rw-r--r-- 1 brad brad 933 Jul 23 09:00 xslt.xml
-------------------------------------------------------------------------
Thanks in advance,
Brad
-------------------------------------------------------------------------
Bachelor of Engineering in Software Engineering,
Griffith University
Re: [Apache::ASP] .htaccess permission denied in examples
Posted by Joshua Chamas <jo...@chamas.com>.
Make sure that your asp/eg directory is under your htdocs
and that you have "AllowOverride All" configured for
that directory in your *.conf files, probably a <Directory>
setting. As long as your files are read all permissions
you won't have a problem with the web server having access
to the files for display.
--Joshua
Brad Dick wrote:
>
> I've tried installing Apache:ASP on my personal web server, but I can't
> get any of the ASP files to work. Also, I can't seem to view the .htaccess
> file from the eg directory that came with the installation. I'm running
> Apache 1.3.12, mod_perl 1.24, and apache::asp 2.01. I think the reason the
> asp files won't work has something to do with the permissions on the
> .htaccess file. Can anyone help me? I feel so silly having to ask
> something that seems so easy.
>
> I get this error on clicking the .htaccess link on the example page.
> _______________________________________________________________________________
> Forbidden
> You don't have permission to access /asp/eg/.htaccess on this server.
>
> --------------------------------------------------------------------------------
>
> Apache/1.3.12 Server at kk208.ocsstud.gu.edu.au Port 80
> _______________________________________________________________________________
>
> Here's the permissions on the eg directory:
> _______________________________________________________________________________
> total 64
> drwxr-xr-x 2 brad brad 1024 Aug 1 20:24 .
> drwxr-xr-x 4 brad brad 1024 Aug 1 19:54 ..
> -rw-r--r-- 1 brad brad 135 Jul 23 09:00 .asp
> -rw-r--r-- 1 brad brad 100 Jul 23 09:00 .bhtaccess
> -rw-r--r-- 1 brad brad 1760 Aug 1 20:08 .htaccess
> -rw-r--r-- 1 brad brad 344 Jul 23 09:00 DemoASP.pm
> -rw-r--r-- 1 brad brad 685 Aug 1 20:17 application.asp
> -rw-r--r-- 1 brad brad 762 Jul 23 09:00 binary_write.htm
> -rw-r--r-- 1 brad brad 1806 Jul 23 09:00 cgi.htm
> -rw-r--r-- 1 brad brad 545 Jul 23 09:00 counting.htm
> -rw-r--r-- 1 brad brad 60 Jul 23 09:00 default.htm
> -rw-r--r-- 1 brad brad 1573 Jul 23 09:00
> dynamic_includes.htm
> -rw-r--r-- 1 brad brad 436 Jul 23 09:00 error_document.htm
> -rw-r--r-- 1 brad brad 1818 Jul 23 09:00 file_upload.asp
> -rw-r--r-- 1 brad brad 100 Jul 23 09:00 footer.inc
> -rw-r--r-- 1 brad brad 569 Jul 23 09:00 form.asp
> -rw-r--r-- 1 brad brad 4461 Jul 23 09:00 global.asa
> -rw-r--r-- 1 brad brad 2202 Jul 23 09:00
> global_asa_demo.asp
> -rw-r--r-- 1 brad brad 3108 Jul 23 09:00 header.inc
> -rw-r--r-- 1 brad brad 418 Jul 23 09:00 include.htm
> -rw-r--r-- 1 brad brad 60 Jul 23 09:00 index.htm
> -rw-r--r-- 1 brad brad 1262 Jul 23 09:00 index.html
> -rw-r--r-- 1 brad brad 1148 Jul 23 09:00
> register_cleanup.asp
> -rw-r--r-- 1 brad brad 2702 Jul 23 09:00 response.asp
> -rw-r--r-- 1 brad brad 87 Jul 23 09:00 row.inc
> -rw-r--r-- 1 brad brad 873 Jul 23 09:00 server.htm
> -rw-r--r-- 1 brad brad 782 Jul 23 09:00
> server_variables.htm
> -rw-r--r-- 1 brad brad 1388 Jul 23 09:00 session.asp
> -rw-r--r-- 1 brad brad 1346 Jul 23 09:00
> session_query_parse.asp
> -rw-r--r-- 1 brad brad 60 Aug 1 20:13 source.asp
> -rw-r--r-- 1 brad brad 1284 Jul 23 09:00 source.inc
> -rw-r--r-- 1 brad brad 835 Jul 23 09:00 ssi_filter.ssi
> -rw-r--r-- 1 brad brad 1199 Jul 23 09:00 syntax_error.htm
> -rw-r--r-- 1 brad brad 104 Jul 23 09:00 table.inc
> -rw-r--r-- 1 brad brad 692 Jul 23 09:00 template.xsl
> -rw-r--r-- 1 brad brad 2326 Jul 23 09:00 test.gif
> -rw-r--r-- 1 brad brad 105 Jul 23 09:00 transfer.htm
> -rw-r--r-- 1 brad brad 2832 Jul 23 09:00 xml_subs.asp
> -rw-r--r-- 1 brad brad 933 Jul 23 09:00 xslt.xml
>