Adi,
What the error/access_log says about it?
You may need to add a Directory section in your VirtualHost, like the
one you have in phpmyadmin.conf :
<Directory "/usr/share/phpmyadmin">
Order Allow,Deny
Allow from all
</Directory>
On 11-04-13 5:04 AM, Adi Ariyanto wrote:
Hi Francois
I am decide to install new PF Server,
I am using vmware infrastructure and install Centos 5 on it then
install PF packet with yum. Why I do this ?
1. I want to know how to develop PF from scratch
2. have PF server with GUI
So far I have success open PF Web Admin, next I want to do is
1. import node.sql which is contain all existing user node from my
previous PF Zen server
2. import switch.conf which is contain all switch configuration
3. set up phpmyadmin as my database management tools
first I want to set up my phpmyadmin because it more easier to import
data use phpmyadmin.
I get stuck with alias problem how to make phpmyadmin and packetfence
work together with same httpd daemon
Have look my previous PF Zen alias configuration and see that
everything seem correct but still I cant open
https://172.16.1.45:1443/phpmyadmin
In my phpmyadmin.conf I already set up the alias
#
# Web application to manage MySQL
#
<Directory "/usr/share/phpmyadmin">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
And in httpd.conf.apache22 I already make alias and set config.inc.php
permission --rw-r----- 1 root pf
<VirtualHost *:%%admin_port%%>
DocumentRoot "%%install_dir%%/html/admin"
ServerName %%hostname%%.%%domain%%:%%admin_port%%
Alias /favicon.ico %%install_dir%%/html/common/favicon.ico
Alias /common/ %%install_dir%%/html/common/
Alias /cgi-bin/pfcmd.cgi %%install_dir%%/bin/pfcmd
Alias /cgi-bin/pdp.cgi %%install_dir%%/cgi-bin/pdp.cgi
Alias /docs/ %%install_dir%%/docs/
Alias /content/ %%install_dir%%/html/user/content/
*Alias /phpmyadmin /usr/share/phpmyadmin*
#LogLevel debug
CustomLog %%install_dir%%/logs/admin_access_log combined
ErrorLog %%install_dir%%/logs/admin_error_log
SSLEngine on
SSLCertificateFile %%install_dir%%/conf/ssl/server.crt
SSLCertificateKeyFile %%install_dir%%/conf/ssl/server.key
<Location /cgi-bin/pfcmd.cgi>
SetHandler cgi-script
Options Indexes FollowSymLinks ExecCGI
</Location>
# mod_perl hosted pf::WebAPI (lib/pf/WebAPI.pm)
PerlRequire %%install_dir%%/lib/pf/mod_perl_require.pl
<Location /webapi>
SetHandler perl-script
PerlHandler pf::WebAPI
# Basic Authentication
AuthUserFile %%install_dir%%/conf/admin.conf
AuthGroupFile /dev/null
AuthName "PacketFence Authentication"
AuthType Basic
require valid-user
</Location>
<LocationMatch /cgi-bin/(pfcmd|pdp).cgi>
AuthUserFile %%install_dir%%/conf/admin.conf
AuthGroupFile /dev/null
AuthName "PacketFence Authentication"
AuthType Basic
require valid-user
</LocationMatch>
<Location ~ />
Options Indexes FollowSymLinks ExecCGI
#AllowOverride None
#php_value register_globals "On"
php_value register_long_arrays "On"
php_value session.save_path "%%install_dir%%/var/session"
php_value memory_limit "64M"
#(E_ALL & ~E_NOTICE) = 2047-8
php_value error_reporting 2039
</Location>
</VirtualHost>
But when I open https://172.16.1.45:1443/phpmyadmin it just show blank
page , any idea what did I miss ?
--
Francois Gaudreault, ing. jr
[email protected] :: +1.514.447.4918 (x130) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users