Re: Re: possible to add multiple locations for the document root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

e-letter wrote:
> I deliberately changed permission just to get the service working. Of
> course, security will need to be improved in future. :)
> 
> Below is extract from the file '/etc/httpd/logs/error_log':
> 
> [Mon Oct 25 12:35:59 2010] [notice] Apache/2.2.6 (Mandriva
> Linux/PREFORK-8.2mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_put/2.0.8
> configured -- resuming normal operations
> [Mon Oct 25 13:30:59 2010] [error] [client 127.0.0.1] client denied by
> server configuration: /usr/local/phppgadmin/phppgadmin/login.php
> 
> This doesn't explain anything to me. Advice please?
Did you use the Mandriva supplied phppgadmin package or download it as a
tarball from the phppgadmin project page?

mandriva's default docroot, used for phppgadmin is /var/www/phppgadmin

their supplied httpd.conf for it:
Alias /phppgadmin /var/www/phppgadmin

<Directory /var/www/phppgadmin>
    Allow from All
</Directory>

# Uncomment the following lines to force a redirect to a working
# SSL aware apache server. This serves as an example.
#
#<IfModule mod_ssl.c>
#    <LocationMatch /phppgadmin>
#        Options FollowSymLinks
#        RewriteEngine on
#        RewriteCond %{SERVER_PORT} !^443$
#        RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
#    </LocationMatch>
#</IfModule>

which is default located in:
/etc/httpd/conf/webapps.d/

as phppgadmin.conf

the above locations help with Mandriva's configuration of the system.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkzGhNsACgkQ3Z/m3C3esu1iUQCgn+tyrIEfKjcrYwVTXpmkIUA+
WOcAoIW2YotA1aXG6wR5Q9eJiN+Ge8ao
=vb8u
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux