Excellent!

Those <Directory> directives have many uses - as Kevin said, permissions can be set there. In the default config that is created by the Admin browser interface, there is a <directory> directive that blocks all access to the root of the IFS. There's another that gives full access to the document root, which makes sense. And for your CGI program, there should be another that has the path name of the library where your CGI programs are.

You can find lots of help in the Admin browser interface - all those question marks next to almost every attribute. And any Apache documentation - doesn't have to be for IBM i - will give you what you want to know.

I believe there are more advanced uses for <directory> entries - things like having multiple ports set up in one httpd.conf file - but I've never done it, and might easily be wrong!

Cheers
Vern

On 1/17/2013 3:43 PM, Steve Richter wrote:
On Thu, Jan 17, 2013 at 4:25 PM, Vernon Hamberg
<vhamberg@xxxxxxxxxxxxxxx> wrote:
Steve

Someone may have asked - but what is the value of the DocumentRoot
directive in your /www/intranet/conf/httpd.conf file?

that did it!! Thanks Vern. Placed the css file in the documentroot
directory and it worked. What a relief.

So what is the purpose of the <Directory> entries in the .confd file?

-Steve


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.