RE: Dialup Admin, problems with apache (httpd) and php

2004-05-14 Thread Anson Rinesmith
You probably need to add the extentions .html  .htm to your configuration
so that apache knows to try and process those as PHP.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:freeradius-
 [EMAIL PROTECTED] On Behalf Of Evan Stenmark
 Sent: Friday, May 14, 2004 1:47 PM
 To: [EMAIL PROTECTED]
 Subject: Dialup Admin, problems with apache (httpd) and php
 
 Apache (httpd) is not working with php it seems
 in the httpd.conf I made the DirectoryRoot /usr/local/dialupadmin/htdocs
 I start the server then access the page and on the right frame, there is
 Dialup Admin
 In the left frame, there is only php code ?php ... ?
 Obviously apache is not set up to work with php right now
 I am running Redhat 9 and from rpmquery there is
 httpd-2.0.40-21
 php-4.2.2-17
 
 I have looked through many of the posts on the archive and can't find any
 solutions that are working with my problem
 
 I suppose my main question is, how do I get apache working with php to
 disply dialup admin correctly?  Or what is something common that I am
 missing?
 I will provide you with more information if you need it
 
 Thanks,
 Evan Stenmark
 
 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Dialup Admin, problems with apache (httpd) and php

2004-05-14 Thread Robert Haskins
I had the same problem. Its really a PHP/apache config error. I had to 
add a line like this in my httpd.conf to get dialupadmin to work:

AddType application/x-httpd-php .php3

Good luck!

Evan Stenmark wrote:

Apache (httpd) is not working with php it seems
in the httpd.conf I made the DirectoryRoot /usr/local/dialupadmin/htdocs
I start the server then access the page and on the right frame, there is 
Dialup Admin
In the left frame, there is only php code ?php ... ?
Obviously apache is not set up to work with php right now
I am running Redhat 9 and from rpmquery there is
httpd-2.0.40-21
php-4.2.2-17

I have looked through many of the posts on the archive and can't find any solutions that are working with my problem

I suppose my main question is, how do I get apache working with php to disply dialup 
admin correctly?  Or what is something common that I am missing?
I will provide you with more information if you need it
Thanks,
Evan Stenmark
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Dialup Admin, problems with apache (httpd) and php

2004-05-14 Thread Evan Stenmark
Well, I have actually tried these last couple of suggestions that came in and it was 
still not working.
So just for fun, I decided to stop the server (httpd -kstop) and change the httpd.conf 
so that it would point to /var/www/html like it originally did.  So I started the 
server again (httpd -kstart) and it still shows the dialupadmin page (without the php 
working...)
So if I changed the DocumentRoot and the Directory... back to the original apache 
test page but apache still brings up the dialupadmin page, I think I might have other 
problems.
I think my next step is to reinstall apache and php then redo the configurations (so 
that I'll be starting from scratch just incase I have messed up one of the 
configurations (which it seems like)).

Evan Stenmark

-- Original Message --
From: Robert Haskins [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 14 May 2004 14:20:06 -0400

I had the same problem. Its really a PHP/apache config error. I had to 
add a line like this in my httpd.conf to get dialupadmin to work:

AddType application/x-httpd-php .php3

Good luck!

Evan Stenmark wrote:

 Apache (httpd) is not working with php it seems
 in the httpd.conf I made the DirectoryRoot /usr/local/dialupadmin/htdocs
 I start the server then access the page and on the right frame, there is 
 Dialup Admin
 In the left frame, there is only php code ?php ... ?
 Obviously apache is not set up to work with php right now
 I am running Redhat 9 and from rpmquery there is
 httpd-2.0.40-21
 php-4.2.2-17
 
 I have looked through many of the posts on the archive and can't find any solutions 
 that are working with my problem
 
 I suppose my main question is, how do I get apache working with php to disply 
 dialup admin correctly?  Or what is something common that I am missing?
 I will provide you with more information if you need it
 
 Thanks,
 Evan Stenmark
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html