|
I have in the httpd.conf the lines: <directory /QSYS.LIB/LIBRARY.LIB/SOURCE.FILE/*> order allow, deny allow from all </Directory> But I still get the "Access denied" message. I found out that in order to use a CGI in a library I need to "ScriptAliasMatch" it to itself, but I don't know if I need to alias also the source file. ______________________________________________________________ Buck Calabro wrote: > >In the "clasical" http server I can serve > >static pages from a source member by > >specifying > >" PASS /QSYS.LIB/LIBRARY.LIB/SOURCE.FILE/* " > >I created a new server (APACHE) based in an > >old configuration, and I can't get it to read > >the source file. > > Since the fully qualified path name is > /QSYS.LIB/LIBRARY.LIB/SOURCE.FILE/srcmbr.MBR you need to either specify > /QSYS.LIB/CGIDEV2.LIB/DEMOHTML.FILE/INDEX.MBR or alias .htm to .mbr like so: > Alias /cgidev2o/*.htm /QSYS.LIB/CGIDEV2.LIB/DEMOHTML.FILE/*.MBR > > I hope this helps. I'm pretty new to this stuff. > --buck
As an Amazon Associate we earn from qualifying purchases.
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.