Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-18-2007, 01:19 PM   #1
LQ Newbie
Registered: Dec 2006
Location: Houston
Distribution: fedora
Posts: 8

Rep: Reputation: 0
Apache-PHP - mod_ssl globals missing


At wits end... so I'm posting in the most knowledgeable place

Running Apache 2.2.4 on Fedora 6 (2.6.18-1)

mod_ssl seems to be running ok: serves https pages, but the HTTPS variables don't show up in PHP - specifically $_SERVER['HTTPS'] which indicates that the request is coming thru https.

I've tried mod_ssl both compiled in and run-time loaded.

Would appreciate any assistance...



Otis Maclay
Old 07-27-2007, 02:29 AM   #2
LQ Newbie
Registered: Jul 2007
Location: Czech Republic, Prague
Distribution: Debian (stable)
Posts: 25

Rep: Reputation: 15
<?php phpinfo(); ?>
Old 07-28-2007, 12:02 AM   #3
LQ Newbie
Registered: Dec 2006
Location: Houston
Distribution: fedora
Posts: 8

Original Poster
Rep: Reputation: 0

It turns out that the certificates were not set up right - conf not correct.

So, php doesn't show https=on unless it really is on.

Sorry about that.



apache, modssl, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Globals in PHP and Smarty ($_GET) vargadanis Programming 6 12-01-2006 07:21 PM
PHP 5.0 Register Globals and Apache 2.0.50 latino Linux - Software 1 07-21-2004 06:47 PM
Am I missing something? PHP, MySQL, Apache agallant Programming 13 06-08-2004 10:57 AM
Apache (mod_ssl) causes server to die because of missing DSA certificate BxBoy Linux - Software 1 08-18-2003 01:08 PM
Apache / PHP - OK, what setting am I missing? bkeating Linux - Software 1 12-10-2002 03:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration