On Mon, 10 Mar 2014, Rich Shepard wrote:

>   I suspect that the new httpd.conf restricts access to that directory;
> there are quite a few changes from the previous version of the config file I
> used. Would one of you httpd exerienced folks take a look at httpd.conf and
> see what I need to modify to access this application?

   I diff'ed httpd.conf from last Thursday (when I could access the
accounting application) and the new httpd.conf. Other than module
differences (which might make a difference, but I doubt it) these seem to be
the only relevant ones:

166,178c214,216
< # DocumentRoot: The directory out of which you will serve your
< # documents. By default, all requests are taken from this directory, but
< # symbolic links and aliases may be used to point to other locations.
< #
< DocumentRoot "/srv/httpd/htdocs"
< 
< #
< # Each directory to which Apache has access can be configured with respect
< # to which services and features are allowed and/or disabled in that
< # directory (and its subdirectories). 
< #
< # First, we configure the "default" to be a very restrictive set of 
< # features. 
---
> # Deny access to the entirety of your server's filesystem. You must
> # explicitly permit access to web content directories in other 
> # <Directory> blocks below.
181,184c219,220
<     Options FollowSymLinks
<     AllowOverride None
<     Order deny,allow
<     Deny from all
---
>     AllowOverride none
>     Require all denied
215c254
<     #   Options FileInfo AuthConfig Limit
---
>     #   AllowOverride FileInfo AuthConfig Limit
222,223c261
<     Order allow,deny
<     Allow from all
---
>     Require all granted
241,245c279,281
< <FilesMatch "^\.ht">
<     Order allow,deny
<     Deny from all
<     Satisfy All
< </FilesMatch>
---
> <Files ".ht*">
>     Require all denied
> </Files>
328c364
<     #Scriptsock /var/run/httpd/cgisock
---
>     #Scriptsock cgisock
338,339c374
<     Order allow,deny
<     Allow from all
---
>     Require all granted
432a457
> # Defaults: EnableMMAP On, EnableSendfile Off
435c460
< #EnableSendfile off
---
> #EnableSendfile on
473a499,503
> # Configure mod_proxy_html to understand HTML4/XHTML1
> <IfModule proxy_html_module>
> Include /etc/httpd/extra/proxy-html.conf
> </IfModule>
> 
484a515,526
> #
> # uncomment out the below to deal with user agents that deliberately
> # violate open standards by misusing DNT (DNT *must* be a specific
> # end-user choice)
> #
> #<IfModule setenvif_module>
> #BrowserMatch "MSIE 10.0;" bad_DNT
> #</IfModule>
> #<IfModule headers_module>
> #RequestHeader unset DNT env=bad_DNT
> #</IfModule>

Rich

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to