Operating System - HP-UX
1837835 Members
2432 Online
110121 Solutions
New Discussion

Re: general apache question for kevin wright ..

 
SOLVED
Go to solution
someone_4
Honored Contributor

general apache question for kevin wright ..

In ref to http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xa79de7613948d5118fef0090279cd0f9,00.html
Please tell me if I am right on this.
you told me to do wich i did it all in one block like you said. I see that the same fields are all there but they are not all in one block they are seperated by words saying the options and how they work.The Atachment is this section of my apache.conf file. And it is working now as is. My question is does apache read the first options (the block)fist then ignore the others? Or should I comment everything after my block out or does it matter?

Thanks
1 REPLY 1
Kevin Wright
Honored Contributor
Solution

Re: general apache question for kevin wright ..

You can make a Directory block specific for every DocRoot. If you are using NameVirtual hosting, each VirtualHost would have a specific block defined for each DocumentRoot.
It does not appear that you are using VirtualHosts, right. you are just trying to get the 'main server' configured correctly. In that case..you probably do not need a specific block as it takes Directives throught the whole httpd.conf file.
In case of the Indexes options, this is only used if the DocRoot does not have a default file to serve up..ie index.html.
with Indexes set..you will get a tree like listing of the available directories under the DocRoot..without Indexes set, you get the 403 Forbidden error.