jueves, 11 de abril de 2013
Configurar phppgadmin para poder accesar desde cualquier ubicacion de internet
Hay que habilitar la opcion # allow from all dentro del apache y reinicar
sgdgm@sgdgm:/etc/apache2/conf.d$ cat phppgadmin
Alias /phppgadmin /usr/share/phppgadmin
<Directory /usr/share/phppgadmin>
DirectoryIndex index.php
AllowOverride None
order deny,allow
deny from all
allow from 127.0.0.0/255.0.0.0 ::1/128
# allow from all
<IfModule mod_php5.c>
php_flag magic_quotes_gpc Off
php_flag track_vars On
#php_value include_path .
</IfModule>
<IfModule !mod_php5.c>
<IfModule mod_actions.c>
<IfModule mod_cgi.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
<IfModule mod_cgid.c>
AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
</IfModule>
</IfModule>
</IfModule>
</Directory>
sgdgm@sgdgm:/etc/apache2/conf.d$ sudo nano phppgadmin
sgdgm@sgdgm:/etc/apache2/conf.d$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]
sgdgm@sgdgm:/etc/apache2/conf.d$
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario