[us...@httpd] Re: possible to add multiple locations for the document root

2010-10-26 Thread e-letter
-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

[us...@httpd] Re: possible to add multiple locations for the document root

2010-10-25 Thread e-letter
On 21/10/2010, e-letter inp...@gmail.com wrote: I tried to use the command 'Alias', to try and use the program phppgadmin which was extracted to /path/to/phppgadmin: DocumentRoot /var/www/html Alias /localhost/target /usr/local/phppgadmin/phppgadmin Directory /localhost/target Order allow

[us...@httpd] Re: possible to add multiple locations for the document root

2010-10-25 Thread e-letter
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

[us...@httpd] Re: possible to add multiple locations for the document root

2010-10-25 Thread e-letter
I had changed the alias to add a trailing stroke (/). I also tried both Directory /usr/local/phppgadmin/phppgadmin and Directory /target/ After each change I stopped and re-started httpd using drakxservices. The permissions error continues.

[us...@httpd] possible to add multiple locations for the document root

2010-10-21 Thread e-letter
Readers, The /etc/httpd.conf file on my pc (mandriva 2008) contains: documentroot '/var/www/html' What is the syntax please to add another address? I want another directory to be searched to serve files. Thanks in advance. -

[us...@httpd] Re: possible to add multiple locations for the document root

2010-10-21 Thread e-letter
I tried to use the command 'Alias', to try and use the program phppgadmin which was extracted to /path/to/phppgadmin: DocumentRoot /var/www/html Alias /localhost/target /usr/local/phppgadmin/phppgadmin Directory /localhost/target Order allow,deny Allow from all /Directory After stopping and

[us...@httpd] configure apache to parse php

2010-08-15 Thread e-letter
Readers, According to the php manual, apache should be configured to parse php, e.g.: FilesMatch \.php$ SetHandler application/x-httpd-php /FilesMatch Apparently this should be part of the addtype directive. I don't understand which file I am to edit and add the code shown above. Can