Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-26-2008, 09:04 AM   #1
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Rep: Reputation: 30
reverse Squid does HTTPS for hidden apache, how does PHP know?


My public web server which serves HTTP and HTTPs is actually a squid server that serves content from an apache server on a private network. for the sake of HTTPS certificates, squid handles everything HTTPS and forwards both HTTP and HTTPs to the apache server using HTTP.

It is secure because the private network is not accessible by anyone.

Trouble is I don't know in PHP wether the user is using HTTP or HTTPS. Is there a setting on squid I can set to add a header to indicate that the user is connecting via HTTPS?


Old 08-21-2008, 09:04 AM   #2
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Original Poster
Rep: Reputation: 30
No one has any idea?


headers, https, php, proxy, reverse, squid

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
Squid 2.6 Reverse Proxy from Squid(3128) to OrginServer(80) Not working rraj Linux - Server 0 06-06-2008 02:29 PM
HTTPS reverse proxy/VPN??? jantman Linux - Server 1 03-08-2008 11:57 PM
LXer: A reverse engineer finds Kindle's hidden features LXer Syndicated Linux News 0 01-03-2008 04:20 PM
LXer: Linux configure pound reverse proxy for Apache http / https web server LXer Syndicated Linux News 0 12-14-2007 07:20 PM
Further speed up of mysql apache reverse squid DrNeil Linux - General 1 01-21-2007 05:38 PM

All times are GMT -5. The time now is 08:40 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration