Re: apache-ssl and php4

2005-09-26 Thread Monique Y. Mudama
On 2005-09-26, Tim Jordan penned:
> I have a server configured with apache and php4 working great.  I
> just added the apache-ssl package and I created my own certificate.
> My problem is now when I try to access a .php page over SSL I get a
> prompt to download the file instead of it opening in my browser.
>
> Could someone please advise on what I'm missing?
>
> Thanks so much,
>
> Tim
>

home:/etc/apache-ssl# grep php httpd.conf
# distribution - see http://www.php.net) will typically use:
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


home:/etc/apache-ssl# grep php modules.conf
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so


-- 
monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apache-ssl and php4

2005-09-26 Thread Roberto C. Sanchez
On Mon, Sep 26, 2005 at 10:32:38AM -0800, Tim Jordan wrote:
> I have a server configured with apache and php4 working great.  I just added 
> the apache-ssl package and I created my own certificate.  My problem is now 
> when I try to access a .php page over SSL I get a prompt to download the file 
> instead of it opening in my browser.
> 
> Could someone please advise on what I'm missing?
> 

It would probably be better run mod_ssl instead of apache-ssl, which
require another entire running instance of apache.  If you still want to
use apache-ssl, make sure that the php module is being loaded in the
apache-ssl configuration, which is completely independent from the
vanilla apache configuration.

-Roberto
-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


pgpCpus7KBoH7.pgp
Description: PGP signature


apache-ssl and php4

2005-09-26 Thread Tim Jordan
I have a server configured with apache and php4 working great.  I just 
added the apache-ssl package and I created my own certificate.  My 
problem is now when I try to access a .php page over SSL I get a prompt 
to download the file instead of it opening in my browser.


Could someone please advise on what I'm missing?

Thanks so much,

Tim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]