That's probably because the URL changes, and Apache can't find that "new" 
address in httpd.conf A naive approach would be to create rule, just like you 
did before, for every phpMyAdmin page that you are trying to access. That's 
obviously a lot of work.Another approach would be to create a general rule that 
excludes phpMyAdmin from being handled that way.I am not an expert configuring 
Apache, take a look at this webpage:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html 
and you may find a solution there. 
From: [email protected]
Date: Mon, 20 Feb 2012 10:56:07 +0530
To: [email protected]
Subject: Re: [Packetfence-users] access denied to phpmyadmin once       
packetfence starts

Dear Alberto,

Thank you for your response.

I do access phpmyadmin from my packetfence server using the address 
http://localhost.localdomain/phpmyadmin/



I did exactly as you mentioned. Then I restarted just httpd and mysqld and I 
was able to access phpmyadmin.

Once I started packetfence, I was able to access the login page (like before). 
But once I login, I get redirected to a page with the warning " sorry Your 
computer was not found in the PacketFence database. Please reboot to solve this 
issue"



Any ideas?

Thank you again!

-Walter


On Sat, Feb 18, 2012 at 9:58 PM, Alberto Chavez <[email protected]> wrote:







Hello,PacketFence overrides httpd.conf, so you need to add phpmyadmin to 
captive-portal-cleanurls.conf located in your pf/conf/httpd.d/ directory.
Let's say that you access phpmyadmin as:

http://localhost.localdomain/phpmyadmin
Then you should have an entry in such file similar to this:RewriteRule 
^/phpmyadmin$ /phpmyadmin/index.php [PT]


The first parameter of rewrite rule is what your users type in the address 
textbox, the second parameter is the path to the file that you are trying to 
access.



From: [email protected]
Date: Sat, 18 Feb 2012 14:58:20 +0530
To: [email protected]


Subject: [Packetfence-users] access denied to phpmyadmin once packetfence       
starts

Hello everyone-

Once I've packetfence up and running, I cannot access phpmyadmin. It gives me 
an error like "this system was not found in the packetfence database. IP 
127.0.0.1"



please guide



thanks

-walter


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users                  
                  

------------------------------------------------------------------------------

Virtualization & Cloud Management Using Capacity Planning

Cloud computing makes use of virtualization - but cloud computing

also focuses on allowing computing to be delivered as a service.

http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________

Packetfence-users mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/packetfence-users





------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users                  
                  
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to