/[packages]/cauldron/phppgadmin/current/SPECS/phppgadmin.spec
ViewVC logotype

Diff of /cauldron/phppgadmin/current/SPECS/phppgadmin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1177965 by umeabot, Wed Feb 3 10:34:49 2016 UTC revision 1177966 by tmb, Mon Nov 20 18:25:55 2017 UTC
# Line 3  Line 3 
3  Summary:        PostgreSQL database administration over the web interface  Summary:        PostgreSQL database administration over the web interface
4  Name:           phppgadmin  Name:           phppgadmin
5  Version:        5.1  Version:        5.1
6  Release:        %mkrel 6  Release:        %mkrel 7
7  License:        GPLv2+  License:        GPLv2+
8  Group:          System/Servers  Group:          System/Servers
9  URL:            http://sourceforge.net/projects/phppgadmin  URL:            http://sourceforge.net/projects/phppgadmin
# Line 66  cat > %{buildroot}%{webappconfdir}/%{nam Line 66  cat > %{buildroot}%{webappconfdir}/%{nam
66  Alias /%{name} /var/www/%{name}  Alias /%{name} /var/www/%{name}
67    
68  <Directory /var/www/%{name}>  <Directory /var/www/%{name}>
69          Order deny,allow     <IfModule mod_authz_core.c>
70          Deny from all       # Apache 2.4
71          Allow from 127.0.0.1       <RequireAny>
72          ErrorDocument 403 "Access denied per %{webappconfdir}/%{name}.conf"         Require ip 127.0.0.1
73           Require ip ::1
74         </RequireAny>
75       </IfModule>
76       <IfModule !mod_authz_core.c>
77         # Apache 2.2
78         Order Deny,Allow
79         Deny from All
80         Allow from 127.0.0.1
81         Allow from ::1
82       </IfModule>
83       ErrorDocument 403 "Access denied per %{webappconfdir}/%{name}.conf"
84  </Directory>  </Directory>
85  EOF  EOF
86    

Legend:
Removed from v.1177965  
changed lines
  Added in v.1177966

  ViewVC Help
Powered by ViewVC 1.1.30