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