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?
>
I retrieved and extracted a tar ball from the phppgadmin web site. Now
I have retrieved from the mandriva repository using terminal command
'urpmi'.

> 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
>
This is seen successfully. The command terminal showed how httpd was
stopped and restarted. I still cannot see a way of starting the
phppgadmin program; the documentation is poor. I opened using opera
the following file:

file://localhost/var/www/phppgadmin/login.php

The browser shows:

printHeader($lang['strlogin']); $misc->printBody();
$misc->printTrail('root'); $server_info =
$misc->getServerInfo($_REQUEST['server']);
$misc->printTitle(sprintf($lang['strlogintitle'],
$server_info['desc'])); if (isset($msg)) $misc->printMsg($msg); ?>
$val) { if (substr($key,0,5) == 'login') continue; echo "\n"; } ?> 	
	

1) : ?>

 />


printFooter(); ?>

I am expecting to see some sort of dialogue window appear to allow
connection to the database, similar to what I achieve when connecting
via openoffice base.

Is apache now successfully configured for me to ask how to use
phppgadmin in the phppgadmin mailing list?

---------------------------------------------------------------------
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