Hi Francois

 

Just want to inform you that my problem has been solved, I uninstall
phpmyadmin.rpm and install phpmyadmin manually from phpmyadmin.tgz

Then I make alias as usual.

 

Thank you, 

 

Regards,

Adi Ariyanto

 

________________________________

From: Francois Gaudreault [mailto:[email protected]] 
Sent: Wednesday, April 13, 2011 8:30 PM
To: [email protected]
Subject: Re: [Packetfence-users] Upgrade PF Zen 1.9.0 to Zen 2.1.0

 

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) 

The above message is for the intended recipient only and may contain 
confidential information and/or may be subject to legal privilege. If you are 
not the intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this message, or any attachment, is strictly 
prohibited. If it has reached you in error please inform us immediately by 
reply e-mail or telephone, reversing the charge if necessary. Please delete the 
message and the reply (if it contains the original message) thereafter. Thank 
you.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to