httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e-letter <inp...@gmail.com>
Subject [users@httpd] Re: possible to add multiple locations for the document root
Date Tue, 26 Oct 2010 11:17:15 GMT
> -----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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message