LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



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

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


Hello,

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?

Thanks,

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

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


Reply

Tags
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 03:29 PM
HTTPS reverse proxy/VPN??? jantman Linux - Server 1 03-09-2008 12:57 AM
LXer: A reverse engineer finds Kindle's hidden features LXer Syndicated Linux News 0 01-03-2008 05:20 PM
LXer: Linux configure pound reverse proxy for Apache http / https web server LXer Syndicated Linux News 0 12-14-2007 08:20 PM
Further speed up of mysql apache reverse squid DrNeil Linux - General 1 01-21-2007 06:38 PM


All times are GMT -5. The time now is 07:34 AM.

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