In your first "AliasMatch" you are writing /website/ in front of
everything.  You can use "DocumentRoot" in place of that AliasMatch

Raul
______________________________________
"Joel R. Cochran" wrote:

> I finally got Apache up and running on my 270, but I appear to be having
> some configuration problems.
>
> When I try to access a CGI page, I get a 403 error.  The log hows the
> following error:
> [error] [client 192.168.1.1] ZSRV_MSG0362: Client denied by server
> configuration: /website/QSYS.LIB
>
> My configuration (for CGI) is as follows:
>
> RewriteEngine On
> RewriteRule ^/cgi-bin/(.*)$ /QSYS.LIB/CGILIB.LIB/$1.PGM
> RewriteRule /(.*) /$1 [PT]
> AliasMatch ^/(.*)$ /website/$1
> AliasMatch ^/website/(.*)$ /website/$1
> ScriptAliasMatch ^/QSYS\.LIB/CGILIB\.LIB/(.*)\.PGM$
> /QSYS.LIB/CGILIB.LIB/$1.PGM
> <Directory />
>    Options None
>    AllowOverride None
>    Order deny,allow
>    Deny from all
>    <LimitExcept GET HEAD OPTIONS TRACE POST >
>    </LimitExcept>
> </Directory>
> <Directory /website/*>
>    Order allow,deny
>    require valid-user
>    require valid-user
>    AuthName "VamaNet Users"
>    ProfileToken off
>    AuthType Basic
>    Options -Indexes
>    UserID %%SERVER%%
>    AlwaysDirectoryIndex On
>    DirectoryIndex index.html
> </Directory>
> <Directory /QSYS.LIB/CGILIB.LIB/*.PGM>
>    Options +ExecCGI
>    SetOutputFilter INCLUDES
>    AuthName "VamaNet Users"
>    AuthType Basic
>    ProfileToken off
>    Order allow,deny
>    Allow from All
>    UserID %%SERVER%%
> </Directory>
>
> Does anyone see the problem?
>
> TIA,
>
> Joel R. Cochran
> Director of Internet Services
> VamaNet.com
> (800)480-8810



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.