httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Flathmann <market...@elrancho.com.mx>
Subject Re: [users@httpd] 403 error (script alias directive involved?)
Date Wed, 15 Mar 2006 21:01:05 GMT
Hi,

I'm not at all an experience Apache user, but you might check to see if 
you have your directive specifying the default webpage to open in the 
right place.

Do you have the line:
        DirectoryIndex index.php
in the <Directory> section for the actual folder specified by the 
scriptAlias directive?

Another possibility that you could experiment with, though I don't know 
enough to explain it, is using an Alias directive rather than a 
scriptAlias directive, because for me running a script in a php file 
doesn't count as a script. I'm using php, and if i use a scriptAlias 
directive it doesn't work, whereas a regular Alias directive does.

Hope that helps!

--Larry Flathmann

Ray wrote:
> Hello,
> I am having a problem with a 403 error that I can't solve. 
> I am trying to set up a stats package on a server hosting about 30
> different websites. The stats package is in a sub folder of the htdocs
> folder. It is accessed through a scriptAlias directive on all the websites.
> e.g. www.foo.com/stats/.....
> or www.bar.com/stats/......
> the stats package is run by a perl script with a complicated (to the
> average customer) argument, so I want to do an auto redirect to it.
> e.g. www.foo.com/stats/filename.pl?config=[......]
> so I want to redirect to it automatically by using
> www.foo.com/stats/index.php 
> (which is a very simple script which just calls the perl script)
> The problem is that entering the URL   www.foo.com/stats/  gives a 403
> access forbidden error.
> however,    www.foo.com/stats/index.php     works perfectly.
> System specs are:
> Apache 2 Triad with SSL on win 2003.
> I have full console and admin access, but I can't make major changes.
> (such as dump M$)
> I thought that the problem might be windows folder permissions, but I
> duplicated permissions for a working website. no change.
> More than happy to read the manual if I could figure out which part.
> Any help or sugestions appreciated
> Ray 
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>   

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message