Displaying 20 results from an estimated 70 matches for "requestheader".
2009 Sep 17
1
[PATCH server] oVirt server single network installer
...nt 500 /ovirt/errors/500.html
- RewriteEngine on
- Order deny,allow
- Allow from all
-
- # We create a subrequest to find REMOTE_USER. Don't do this for every
- # subrequest too (slow and huge logs result)
- RewriteCond %{IS_SUBREQ}% false
- RewriteRule .* - [E=RU:%{LA-U:REMOTE_USER}]
- RequestHeader set X-Forwarded-User %{RU}e
- RequestHeader set X-Forwarded-Keytab %{KRB5CCNAME}e
-
- # RequestHeader unset Authorization
-</ProxyMatch>
-
-Alias /ovirt/stylesheets "/usr/share/ovirt-server/public/stylesheets"
-Alias /ovirt/images "/usr/share/ovirt-server/public/images"...
2006 May 08
10
Apache 2.2, ProxyPass and HTTPS
Hi all,
I''m currently trying to get Mongrel running my app whilst fronted by
apache 2.2 in a sub-directory via https. A bit convoluted I''ll grant
you but necessitated by existing systems.
The pertinent parts of my httpd.conf:
<VirtualHost 123.123.123.123:12345> #historic choice of random port number
DocumentRoot /var/www/admin
ServerName admin.example.com:12345
2006 Jan 23
1
autocomplete=off not working on Firefox
.... Could that be a
problem?
[...]
</div>
<script type="text/javascript">
<!--
document.forms[0].url.focus()
new Ajax.Autocompleter(''url'', ''url_auto_complete'', ''http://localhost/test'', { method: ''get'', requestHeaders: [''X-Ajax-Complete'', ''complete''], minChars: 3})
new Ajax.Autocompleter(''title'', ''title_auto_complete'', ''http://localhost/test'', { method: ''get'', requestHeaders: [''X-Ajax-Complete...
2011 Feb 14
1
[PATCH] Staging: hv: Use list_entry for msg_info and remove associated comment
...vmbus_connection.channelmsg_lock, flags);
list_for_each(curr, &vmbus_connection.chn_msg_list) {
-/* FIXME: this should probably use list_entry() instead */
- msginfo = (struct vmbus_channel_msginfo *)curr;
+ msginfo = list_entry(curr, struct vmbus_channel_msginfo,
+ msglistentry);
+
requestheader =
(struct vmbus_channel_message_header *)msginfo->msg;
@@ -628,8 +629,8 @@ static void vmbus_ongpadl_created(struct vmbus_channel_message_header *hdr)
spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags);
list_for_each(curr, &vmbus_connection.chn_msg_list) {
-/* FIXME:...
2011 Feb 14
1
[PATCH] Staging: hv: Use list_entry for msg_info and remove associated comment
...vmbus_connection.channelmsg_lock, flags);
list_for_each(curr, &vmbus_connection.chn_msg_list) {
-/* FIXME: this should probably use list_entry() instead */
- msginfo = (struct vmbus_channel_msginfo *)curr;
+ msginfo = list_entry(curr, struct vmbus_channel_msginfo,
+ msglistentry);
+
requestheader =
(struct vmbus_channel_message_header *)msginfo->msg;
@@ -628,8 +629,8 @@ static void vmbus_ongpadl_created(struct vmbus_channel_message_header *hdr)
spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags);
list_for_each(curr, &vmbus_connection.chn_msg_list) {
-/* FIXME:...
2012 Feb 06
1
Puppet / Passenger SSL Problems with DRBD
...roblems with Apache
complaining about the CRL, disable the nex
t line
# SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars
# The following client headers allow the same configuration to
work with Pound.
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
RackAutoDetect On
DocumentRoot /drbd01/puppet/rack/puppetmasterd/public/
<Directory /drbd01/puppet/rack/puppetmasterd/>...
2013 Jul 23
3
Debugging Puppetmaster with Apache/Rack/Passenger
...rl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars +ExportCertData
# These request headers are used to pass the client certificate
# authentication information on to the puppet master process
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
DocumentRoot /usr/share/puppet/rack/puppetmasterd/public/
<Directory /usr/share/puppet/rack/puppetmasterd/>...
2012 Jun 12
1
Dashboard with RackbaseURI / and RailsAutoDetect off
...ent optional
> SSLVerifyDepth 1
> SSLOptions +StdEnvVars
>
> ErrorLog logs/puppet_error_log
> TransferLog logs/puppet_access_log
> LogLevel warn
> # This header needs to be set if using a loadbalancer or proxy
> #RequestHeader unset X-Forwarded-For
>
> #RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
> #RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
> #RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
>
> DocumentRoot /etc/puppet/rack/public/
> Rac...
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
...T56:RC4+RSA:+HIGH:+MEDIUM:+LOW:
+SSLv2:+EXP:+eNULL
SSLCertificateKeyFile "/usr/local/etc/apache22/certs/
new.identry.com/server.key"
SSLCertificateFile "/usr/local/etc/apache22/certs/new.identry.com/
server.crt"
#DocumentRoot "/home/identry/public_html"
RequestHeader set X_FORWARDED_PROTO ''https''
ProxyPass / https://new.identry.com:3000/
ProxyPassReverse / https://new.identry.com:3000/
ProxyPreserveHost on
</VirtualHost>
The two commented-out DocumentRoot lines let me test the Apache SSL
config with static content. If I use t...
2012 Apr 22
2
centos 6.2 - puppet 2.7.13 - SSL_connect returned=1 errno=0 state=SSLv3 read server session ticket A: tlsv1 alert protocol version
...roblems with Apache
complaining about the CRL, disable the next line
SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars
# The following client headers allow the same configuration to work
with Pound.
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
PassengerHighPerformance on
PassengerStatThrottleRate 120
PassengerUseGlobalQueue on
RackAutoDetect Off
RailsAutoDetect Off...
2012 Dec 17
1
multiple puppet masters
...ationFile /var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
# The `ExportCertData` option is needed for agent certificate expiration warnings
SSLOptions +StdEnvVars +ExportCertData
# This header needs to be set if using a loadbalancer or proxy
RequestHeader unset X-Forwarded-For
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
DocumentRoot /etc/puppet/rack/public/
RackBaseURI /
<Directory /etc/puppet/rack/>...
2006 May 22
0
Accept header
Hello,
I''d want set an Accept header different from the default one:
''text/javascript, text/html, application/xml, text/xml, */*''.
Then I set in options:
{
...
requestHeaders: [''Accept'',
''text/xml;q=1,application/xml,text/javascript,text/html''],
...
}
In this way the internal requestHeaders array in Ajax.Request will have
two values for the Accept key. This works fine in mozilla/firefox
because the second one is picked.
Unfort...
2016 Feb 29
4
Problems with ProxyPass to a local ip (using SSL)
...ite ALL:!ADH:!EXPORT56:!EXP:!eNULL:!aNULL:RC4+RSA:+HIGH:+MEDIUM:!LOW:!SSLv2
SSLCertificateFile /etc/httpd/certs/server.crt
SSLCertificateKeyFile /etc/httpd/certs/server.key
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://192.168.1.5:5100/
ProxyPassReverse / http://192.168.1.5:5100/
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "444"
RewriteEngine On
RewriteRule ^/(.*) https://myweb01.local.domain:444/$1 [R,L]
</VirtualHost>
As you can see, I need to do a redirection to port 5100 from 444 port and protect it using ssl.
I'...
2006 Jan 16
11
Preventing bubble
I''m trying to prevent double ajax requests when I have nested onclick
handlers.
I have a table with clickable column headings (for sorting by that
column).
I have onclick handlers on both the <th> and the <a> link so that
clicking anywhere on the table heading should work.
<th onclick="window.location.href=''http://foo?sort=foo'';">
2014 Aug 29
0
Using puppet with Apache mod_disk_cache and passenger over SSL
.../var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars +ExportCertData
# These request headers are used to pass the client certificate
# authentication information on to the puppet master process
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
RackAutoDetect On
DocumentRoot /usr/share/puppet/rack/puppetmasterd/public/
<Directory /usr/share/puppet/rack/puppetmasterd/>...
2009 Sep 07
2
passenger-status error messages
...ignatures on the CRL, you can
try disabling
# CRL checking by commenting the next line.
SSLCARevocationFile /var/lib/puppet/ssl/ca/ca_crl.pem
SSLVerifyClient optional
SSLVerifyDepth 1
SSLOptions +StdEnvVars
# The following client headers allow the same configuration to work with Pound.
RequestHeader set X-SSL-Subject %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-DN %{SSL_CLIENT_S_DN}e
RequestHeader set X-Client-Verify %{SSL_CLIENT_VERIFY}e
RackAutoDetect On
DocumentRoot /usr/share/puppet/rack/puppetmasterd/public/
<Directory /usr/share/puppet/rack/puppetmasterd/>
Options None...
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
Hello,
I am configuring apache 2.2 to serve my rails app through mongrel at
the root of my server. First, I redirect all http traffic to https
with the following:
ServerName emiliano
NameVirtualHost *:80
<VirtualHost *:80>
RedirectPermanent / https://emiliano #this server is only accessed internally
</VirtualHost>
Inside the <VirtualHost *:443> section, I have the following
2007 Oct 13
3
Endless Redirects with Ssl_Requirement
I''m running an application on mongrel with apache 2.2.3. SSL works
fine when I enter an https manually. But when I use the plugin, I get
an endless redirect.
Got the same error when I tried running the following simplified
version of SslRequirement from within an action:
unless request.ssl?
redirect_to "https://#{request.host}/#{request.uri}"
end
So there must be a
2007 Feb 15
2
ajax.request not working in ie7
...r gets sent in ie7 (im using
iewatch). here''s my code:
var headers = [''Man'', ''POST http://'' + location.host + ''/something
HTTP/1.1'',''MessageType'',''CALL'' ];
var myAjax = new Ajax.Request( url, { requestHeaders: headers
,contentType: ''text/xml'', method: ''post'', postBody: myString, onComplete:
parseResponse });
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs&qu...
2007 Jan 25
6
NOT FOUND error
...info}n (%{ratio_info}n%%)'' deflate
#CustomLog logs/mosaic_deflate_log deflate
-----
myapp.conf:
<VirtualHost myapp.tld:80>
Include /etc/rails/myapp.common
# This is required to convince Rails (via mod_proxy_balancer) that we''re
# actually using HTTPS.
RequestHeader set X_FORWARDED_PROTO ''https''
ErrorLog /usr/local/apache2/logs/myapp_errors_log
CustomLog /usr/local/apache2/logs/myapp_log combined
</VirtualHost>
<Proxy balancer://myapp_mongrel_cluster>
BalancerMember http://127.0.0.1:8000
BalancerMember http:/...