Gentoo Archives: gentoo-server

From: Edward Muller <edwardam@××××××××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] httpd (2.0.55) proxying https to zope's http mangling POST data
Date: Fri, 03 Mar 2006 20:07:28
Message-Id: 200603031405.05208.edwardam@interlix.com
1 One of our clients has the following setup:
2 httpd 2.0.55 (Gentoo package 2.0.55-r1)
3 Zope 2.6.1
4
5 Apache proxies zope for a http and https host via mod_rewrite/proxy
6
7 POSTs going to httpd=>zope via http are fine, posts going to httpd=>zope via
8 https are not. I have dumps of the exact same post done via both made by
9 sniffing the loopback traffic (see below).
10
11 here is a dump of the posts ... The first one is the apache=>zope where the
12 request was made to the http host. The second one is the apache=>zope where
13 the request was mage via https... Note: The form-data pieces in the https one
14 are corrupt for some reason...
15
16 Any help figuring out if it's a bug in apache or a mis-configuration would be
17 most appreciated.
18
19 apache=>zope connection was via http to apache...
20
21 POST /VirtualHostBase/http/www.agts.edu:80/VirtualHostRoot/_vh_apply/_vh_online//steps/education_info/move_py
22 HTTP/1.1
23 Host: 127.0.0.1:8080
24 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060210
25 Firefox/1.5.0.1
26 Accept:
27 text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
28 Accept-Language: en-us,en;q=0.5
29 Accept-Encoding: gzip,deflate
30 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
31 Referer: http://www.agts.edu/apply/online/steps/education_info
32 Cookie: tree-s="eJzTiFZ3hANPW/VYHU0ALlYElA";
33 AWSUSER_ID=awsuser_id1095956020316r6120; _ZopeId="62895622A2PZPfo3v4g"
34 Authorization: Basic ZW11bGxlcjpncmVzcDBuZA==
35 Content-Type: multipart/form-data;
36 boundary=---------------------------1385143389812779021526929160
37 Max-Forwards: 10
38 X-Forwarded-For: 64.22.224.52
39 X-Forwarded-Host: www.agts.edu
40 X-Forwarded-Server: www.agts.edu
41 Content-Length: 10232
42
43 -----------------------------1385143389812779021526929160
44 Content-Disposition: form-data; name="go_to_step:string"
45
46 6
47 -----------------------------1385143389812779021526929160
48 Content-Disposition: form-data; name="school_name1:string"
49
50
51 -----------------------------1385143389812779021526929160
52 Content-Disposition: form-data; name="school_city1:string"
53
54
55 -----------------------------1385143389812779021526929160
56 Content-Disposition: form-data; name="school_state1:int"
57
58 0
59 -----------------------------1385143389812779021526929160
60 Content-Disposition: form-data; name="school_dates1:string"
61
62
63 -----------------------------1385143389812779021526929160
64 Content-Disposition: form-data; name="school_degree1:string"
65
66
67 -----------------------------1385143389812779021526929160
68 Content-Disposition: form-data; name="school_degree_date1:string"
69
70
71 -----------------------------1385143389812779021526929160
72 Content-Disposition: form-data; name="school_name2:string"
73
74
75 -----------------------------1385143389812779021526929160
76 Content-Disposition: form-data; name="school_city2:string"
77
78
79 -----------------------------1385143389812779021526929160
80 Content-Disposition: form-data; name="school_state2:int"
81
82 0
83 -----------------------------1385143389812779021526929160
84 Content-Disposition: form-data; name="school_dates2:string"
85
86
87 -----------------------------1385143389812779021526929160
88 Content-Disposition: form-data; name="school_degree2:string"
89
90
91 -----------------------------1385143389812779021526929160
92 Content-Disposition: form-data; name="school_degree_date2:string"
93
94
95 -----------------------------1385143389812779021526929160
96 Content-Disposition: form-data; name="school_name3:string"
97
98
99 -----------------------------1385143389812779021526929160
100 Content-Disposition: form-data; name="school_city3:string"
101
102
103 -----------------------------1385143389812779021526929160
104 Content-Disposition: form-data; name="school_state3:int"
105
106 0
107 -----------------------------1385143389812779021526929160
108 Content-Disposition: form-data; name="school_dates3:string"
109
110
111 -----------------------------1385143389812779021526929160
112 Content-Disposition: form-data; name="school_degree3:string"
113
114
115 -----------------------------1385143389812779021526929160
116 Content-Disposition: form-data; name="school_degree_date3:string"
117
118
119 -----------------------------1385143389812779021526929160
120 Content-Disposition: form-data; name="school_name4:string"
121
122
123 -----------------------------1385143389812779021526929160
124 Content-Disposition: form-data; name="school_city4:string"
125
126
127 -----------------------------1385143389812779021526929160
128 Content-Disposition: form-data; name="school_state4:int"
129
130 0
131 -----------------------------1385143389812779021526929160
132 Content-Disposition: form-data; name="school_dates4:string"
133
134
135 -----------------------------1385143389812779021526929160
136 Content-Disposition: form-data; name="school_degree4:string"
137
138
139 -----------------------------1385143389812779021526929160
140 Content-Disposition: form-data; name="school_degree_date4:string"
141
142
143 -----------------------------1385143389812779021526929160
144 Content-Disposition: form-data; name="school_name5:string"
145
146
147 -----------------------------1385143389812779021526929160
148 Content-Disposition: form-data; name="school_city5:string"
149
150
151 -----------------------------1385143389812779021526929160
152 Content-Disposition: form-data; name="school_state5:int"
153
154 0
155 -----------------------------1385143389812779021526929160
156 Content-Disposition: form-data; name="school_dates5:string"
157
158
159 -----------------------------1385143389812779021526929160
160 Content-Disposition: form-data; name="school_degree5:string"
161
162
163 -----------------------------1385143389812779021526929160
164 Content-Disposition: form-data; name="school_degree_date5:string"
165
166
167 -----------------------------1385143389812779021526929160
168 Content-Disposition: form-data; name="school_name6:string"
169
170
171 -----------------------------1385143389812779021526929160
172 Content-Disposition: form-data; name="school_city6:string"
173
174
175 -----------------------------1385143389812779021526929160
176 Content-Disposition: form-data; name="school_state6:int"
177
178 0
179 -----------------------------1385143389812779021526929160
180 Content-Disposition: form-data; name="school_dates6:string"
181
182
183 -----------------------------1385143389812779021526929160
184 Content-Disposition: form-data; name="school_degree6:string"
185
186
187 -----------------------------1385143389812779021526929160
188 Content-Disposition: form-data; name="school_degree_date6:string"
189
190
191 -----------------------------1385143389812779021526929160
192 Content-Disposition: form-data; name="school_name7:string"
193
194
195 -----------------------------1385143389812779021526929160
196 Content-Disposition: form-data; name="school_city7:string"
197
198
199 -----------------------------1385143389812779021526929160
200 Content-Disposition: form-data; name="school_state7:int"
201
202 0
203 -----------------------------1385143389812779021526929160
204 Content-Disposition: form-data; name="school_dates7:string"
205
206
207 -----------------------------1385143389812779021526929160
208 Content-Disposition: form-data; name="school_degree7:string"
209
210
211 -----------------------------1385143389812779021526929160
212 Content-Disposition: form-data; name="school_degree_date7:string"
213
214
215 -----------------------------1385143389812779021526929160
216 Content-Disposition: form-data; name="school_name8:string"
217
218
219 -----------------------------1385143389812779021526929160
220 Content-Disposition: form-data; name="school_city8:string"
221
222
223 -----------------------------1385143389812779021526929160
224 Content-Disposition: form-data; name="school_state8:int"
225
226 0
227 -----------------------------1385143389812779021526929160
228 Content-Disposition: form-data; name="school_dates8:string"
229
230
231 -----------------------------1385143389812779021526929160
232 Content-Disposition: form-data; name="school_degree8:string"
233
234
235 -----------------------------1385143389812779021526929160
236 Content-Disposition: form-data; name="school_degree_date8:string"
237
238
239 -----------------------------1385143389812779021526929160
240 Content-Disposition: form-data; name="school_name9:string"
241
242
243 -----------------------------1385143389812779021526929160
244 Content-Disposition: form-data; name="school_city9:string"
245
246
247 -----------------------------1385143389812779021526929160
248 Content-Disposition: form-data; name="school_state9:int"
249
250 0
251 -----------------------------1385143389812779021526929160
252 Content-Disposition: form-data; name="school_dates9:string"
253
254
255 -----------------------------1385143389812779021526929160
256 Content-Disposition: form-data; name="school_degree9:string"
257
258
259 -----------------------------1385143389812779021526929160
260 Content-Disposition: form-data; name="school_degree_date9:string"
261
262
263 -----------------------------1385143389812779021526929160
264 Content-Disposition: form-data; name="school_name10:string"
265
266
267 -----------------------------1385143389812779021526929160
268 Content-Disposition: form-data; name="school_city10:string"
269
270
271 -----------------------------1385143389812779021526929160
272 Content-Disposition: form-data; name="school_state10:int"
273
274 0
275 -----------------------------1385143389812779021526929160
276 Content-Disposition: form-data; name="school_dates10:string"
277
278
279 -----------------------------1385143389812779021526929160
280 Content-Disposition: form-data; name="school_degree10:string"
281
282
283 -----------------------------1385143389812779021526929160
284 Content-Disposition: form-data; name="school_degree_date10:string"
285
286
287 -----------------------------1385143389812779021526929160
288 Content-Disposition: form-data; name="school_name11:string"
289
290
291 -----------------------------1385143389812779021526929160
292 Content-Disposition: form-data; name="school_city11:string"
293
294
295 -----------------------------1385143389812779021526929160
296 Content-Disposition: form-data; name="school_state11:int"
297
298 0
299 -----------------------------1385143389812779021526929160
300 Content-Disposition: form-data; name="school_dates11:string"
301
302
303 -----------------------------1385143389812779021526929160
304 Content-Disposition: form-data; name="school_degree11:string"
305
306
307 -----------------------------1385143389812779021526929160
308 Content-Disposition: form-data; name="school_degree_date11:string"
309
310
311 -----------------------------1385143389812779021526929160
312 Content-Disposition: form-data; name="school_name12:string"
313
314
315 -----------------------------1385143389812779021526929160
316 Content-Disposition: form-data; name="school_city12:string"
317
318
319 -----------------------------1385143389812779021526929160
320 Content-Disposition: form-data; name="school_state12:int"
321
322 0
323 -----------------------------1385143389812779021526929160
324 Content-Disposition: form-data; name="school_dates12:string"
325
326
327 -----------------------------1385143389812779021526929160
328 Content-Disposition: form-data; name="school_degree12:string"
329
330
331 -----------------------------1385143389812779021526929160
332 Content-Disposition: form-data; name="school_degree_date12:string"
333
334
335 -----------------------------1385143389812779021526929160
336 Content-Disposition: form-data; name="applied_or_taken_earlier:int"
337
338 2
339 -----------------------------1385143389812779021526929160
340 Content-Disposition: form-data; name="applied_or_taken_earlier_det:string"
341
342
343 -----------------------------1385143389812779021526929160
344 Content-Disposition: form-data; name="enrolled_elsewhere:int"
345
346 2
347 -----------------------------1385143389812779021526929160
348 Content-Disposition: form-data; name="enrolled_elsewhere_location:string"
349
350
351 -----------------------------1385143389812779021526929160
352 Content-Disposition: form-data; name="denied_or_dismissed:int"
353
354 2
355 -----------------------------1385143389812779021526929160
356 Content-Disposition: form-data; name="denied_or_dismissed_details:text"
357
358
359 -----------------------------1385143389812779021526929160
360 Content-Disposition: form-data; name="enroll_other_seminary:int"
361
362 0
363 -----------------------------1385143389812779021526929160
364 Content-Disposition: form-data; name="enroll_other_seminary_det:string"
365
366
367 -----------------------------1385143389812779021526929160--
368
369 apache=>zope connection was via http2 to apache...
370
371 POST /VirtualHostBase/https/www.agts.edu:443/VirtualHostRoot/_vh_apply/_vh_online//steps/education_info/move_py
372 HTTP/1.1
373 Host: www.agts.edu
374 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060210
375 Firefox/1.5.0.1
376 Accept:
377 text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
378 Accept-Language: en-us,en;q=0.5
379 Accept-Encoding: gzip,deflate
380 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
381 Referer: https://www.agts.edu/apply/online/steps/education_info
382 Cookie: tree-s="eJzTiFZ3hANPW/VYHU0ALlYElA";
383 AWSUSER_ID=awsuser_id1095956020316r6120; _ZopeId="62895622A2PZPfo3v4g"
384 Content-Type: multipart/form-data;
385 boundary=---------------------------155710756420592666112128351680
386 Front-End-Https: on
387 Max-Forwards: 10
388 X-Forwarded-For: 64.22.224.52
389 X-Forwarded-Host: www.agts.edu
390 X-Forwarded-Server: www.agts.edu
391 Content-Length: 10396
392
393 string"
394
395
396 -----------------------------155710756420592666112128351680
397 Content-Disposition: form-data; name="school_degree10:string"
398
399
400 -----------------------------155710756420592666112128351680
401 Content-Disposition: form-data; name="school_degree_date10:string"
402
403
404 -----------------------------155710756420592666112128351680
405 Content-Disposition: form-data; name="school_name11:string"
406
407
408 -----------------------------155710756420592666112128351680
409 Content-Disposition: form-data; name="school_city11:string"
410
411
412 -----------------------------155710756420592666112128351680
413 Content-Disposition: form-data; name="school_state11:int"
414
415 0
416 -----------------------------155710756420592666112128351680
417 Content-Disposition: form-data; name="school_dates11:string"
418
419
420 -----------------------------155710756420592666112128351680
421 Content-Disposition: form-data; name="school_degree11:string"
422
423
424 -----------------------------155710756420592666112128351680
425 Content-Disposition: form-data; name="school_degree_date11:string"
426
427
428 -----------------------------155710756420592666112128351680
429 Content-Disposition: form-data; name="school_name12:string"
430
431
432 -----------------------------155710756420592666112128351680
433 Content-Disposition: form-data; name="school_city12:string"
434
435
436 -----------------------------155710756420592666112128351680
437 Content-Disposition: form-data; name="school_state12:int"
438
439 0
440 -----------------------------155710756420592666112128351680
441 Content-Disposition: form-data; name="school_dates12:string"
442
443
444 -----------------------------155710756420592666112128351680
445 Content-Disposition: form-data; name="school_degree12:string"
446
447
448 -----------------------------155710756420592666112128351680
449 Content-Disposition: form-data; name="school_degree_date12:string"
450
451
452 -----------------------------155710756420592666112128351680
453 Content-Disposition: form-data; name="applied_or_taken_earlier:int"
454
455 2
456 -----------------------------155710756420592666112128351680
457 Content-Disposition: form-data; name="applied_or_taken_earlier_det:string"
458
459
460 -----------------------------155710756420592666112128351680
461 Content-Disposition: form-data; name="enrolled_elsewhere:int"
462
463 2
464 -----------------------------155710756420592666112128351680
465 Content-Disposition: form-data; name="enrolled_elsewhere_location:string"
466
467
468 -----------------------------155710756420592666112128351680
469 Content-Disposition: form-data; name="denied_or_dismissed:int"
470
471 2
472 -----------------------------155710756420592666112128351680
473 Content-Disposition: form-data; name="denied_or_dismissed_details:text"
474
475
476 -----------------------------155710756420592666112128351680
477 Content-Disposition: form-data; name="enroll_other_seminary:int"
478
479 0
480 -----------------------------155710756420592666112128351680
481 Content-Disposition: form-data; name="enroll_other_seminary_det:string"
482
483
484 -----------------------------155710756420592666112128351680--
485 l_name9:string"
486
487
488 -----------------------------155710756420592666112128351680
489 Content-Disposition: form-data; name="school_city9:string"
490
491
492 -----------------------------155710756420592666112128351680
493 Content-Disposition: form-data; name="school_state9:int"
494
495 0
496 -----------------------------155710756420592666112128351680
497 Content-Disposition: form-data; name="school_dates9:string"
498
499
500 ----string"
501
502
503 -----------------------------155710756420592666112128351680
504 Content-Disposition: form-data; name="school_degree10:string"
505
506
507 -----------------------------155710756420592666112128351680
508 Content-Disposition: form-data; name="school_degree_date10:string"
509
510
511 -----------------------------155710756420592666112128351680
512 Content-Disposition: form-data; name="school_name11:string"
513
514
515 -----------------------------155710756420592666112128351680
516 Content-Disposition: form-data; name="school_city11:string"
517
518
519 -----------------------------155710756420592666112128351680
520 Content-Disposition: form-data; name="school_state11:int"
521
522 0
523 -----------------------------155710756420592666112128351680
524 Content-Disposition: form-data; name="school_dates11:string"
525
526
527 -----------------------------155710756420592666112128351680
528 Content-Disposition: form-data; name="school_degree11:string"
529
530
531 -----------------------------155710756420592666112128351680
532 Content-Disposition: form-data; name="school_degree_date11:string"
533
534
535 -----------------------------155710756420592666112128351680
536 Content-Disposition: form-data; name="school_name12:string"
537
538
539 -----------------------------155710756420592666112128351680
540 Content-Disposition: form-data; name="school_city12:string"
541
542
543 -----------------------------155710756420592666112128351680
544 Content-Disposition: form-data; name="school_state12:int"
545
546 0
547 -----------------------------155710756420592666112128351680
548 Content-Disposition: form-data; name="school_dates12:string"
549
550
551 -----------------------------155710756420592666112128351680
552 Content-Disposition: form-data; name="school_degree12:string"
553
554
555 -----------------------------155710756420592666112128351680
556 Content-Disposition: form-data; name="school_degree_date12:string"
557
558
559 -----------------------------155710756420592666112128351680
560 Content-Disposition: form-data; name="applied_or_taken_earlier:int"
561
562 2
563 -----------------------------155710756420592666112128351680
564 Content-Disposition: form-data; name="applied_or_taken_earlier_det:string"
565
566
567 -----------------------------155710756420592666112128351680
568 Content-Disposition: form-data; name="enrolled_elsewhere:int"
569
570 2
571 -----------------------------155710756420592666112128351680
572 Content-Disposition: form-data; name="enrolled_elsewhere_location:string"
573
574
575 -----------------------------155710756420592666112128351680
576 Content-Disposition: form-data; name="denied_or_dismissed:int"
577
578 2
579 -----------------------------155710756420592666112128351680
580 Content-Disposition: form-data; name="denied_or_dismissed_details:text"
581
582
583 -----------------------------155710756420592666112128351680
584 Content-Disposition: form-data; name="enroll_other_seminary:int"
585
586 0
587 -----------------------------155710756420592666112128351680
588 Content-Disposition: form-data; name="enroll_other_seminary_det:string"
589
590
591 -----------------------------155710756420592666112128351680--
592 l_name9:string"
593
594
595 -----------------------------155710756420592666112128351680
596 Content-Disposition: form-data; name="school_city9:string"
597
598
599 -----------------------------155710756420592666112128351680
600 Content-Disposition: form-data; name="school_state9:int"
601
602 0
603 -----------------------------155710756420592666112128351680
604 Content-Disposition: form-data; name="school_dates9:string"
605
606
607 -----------------------------155710756420592666112128351680
608 Content-Disposition: form-data; name="school_degree9:string"
609
610
611 -----------------------------155710756420592666112128351680
612 Content-Disposition: form-data; name="school_degree_date9:string"
613
614
615 -----------------------------155710756420592666112128351680
616 Content-Disposition: form-data; name="school_name10:string"
617
618
619 -----------------------------155710756420592666112128351680
620 Content-Disposition: form-data; name="school_city10:string"
621
622
623 -----------------------------155710756420592666112128351680
624 Content-Disposition: form-data; name="school_state10:int"
625
626 0
627 -----------------------------155710756420592666112128351680
628 Content-Disposition: form-data; name="school_dates10:string"
629
630
631 -----------------------------155710756420592666112128351680
632 Content-Disposition: form-data; name="school_degree10:string"
633
634
635 -----------------------------155710756420592666112128351680
636 Content-Disposition: form-data; name="school_degree_date10:string"
637
638
639 -----------------------------155710756420592666112128351680
640 Content-Disposition: form-data; name="school_name11:string"
641
642
643 -----------------------------155710756420592666112128351680
644 Content-Disposition: form-data; name="school_city11:string"
645
646
647 -----------------------------155710756420592666112128351680
648 Content-Disposition: form-data; name="school_state11:int"
649
650 0
651 -----------------------------155710756420592666112128351680
652 Content-Disposition: form-data; name="school_dates11:string"
653
654
655 -----------------------------155710756420592666112128351680
656 Content-Disposition: form-data; name="school_degree11:string"
657
658
659 -----------------------------155710756420592666112128351680
660 Content-Disposition: form-data; name="school_degree_date11:string"
661
662
663 -----------------------------155710756420592666112128351680
664 Content-Disposition: form-data; name="school_name12:string"
665
666
667 -----------------------------155710756420592666112128351680
668 Content-Disposition: form-data; name="school_city12:string"
669
670
671 -----------------------------155710756420592666112128351680
672 Content-Disposition: form-data; name="school_state12:int"
673
674 0
675 -----------------------------155710756420592666112128351680
676 Content-Disposition: form-data; name="school_dates12:string"
677
678
679 -----------------------------155710756420592666112128351680
680 Content-Disposition: form-data; name="school_degree12:string"
681
682
683 -----------------------------155710756420592666112128351680
684 Content-Disposition: form-data; name="school_degree_date12:string"
685
686
687 -----------------------------155710756420592666112128351680
688 Content-Disposition: form-data; name="applied_or_taken_earlier:int"
689
690 2
691 -----------------------------155710756420592666112128351680
692 Content-Disposition: form-data; name="applied_or_taken_earlier_det:string"
693
694
695 -----------------------------155710756420592666112128351680
696 Content-Disposition: form-data; name="enrolled_elsewhere:int"
697
698 2
699 -----------------------------155710756420592666112128351680
700 Content-Disposition: form-data; name="enrolled_elsewhere_location:string"
701
702
703 -----------------------------155710756420592666112128351680
704 Content-Disposition: form-data; name="denied_or_dismissed:int"
705
706 2
707 -----------------------------155710756420592666112128351680
708 Content-Disposition: form-data; name="denied_or_dismissed_details:text"
709
710
711 -----------------------------155710756420592666112128351680
712 Content-Disposition: form-data; name="enroll_other_seminary:int"
713
714 0
715 -----------------------------155710756420592666112128351680
716 Content-Disposition: form-data; name="enroll_other_seminary_det:string"
717
718
719 -----------------------------155710756420592666112128351680--
720
721
722 Here is the relevant vhost configuration. I replaced the domain names
723 XXXXXX.XXX (I have a confidentiality agreement with the customer).
724
725 <VirtualHost 172.19.2.92:80>
726 ServerAdmin admin@××××.XXX
727 DocumentRoot /var/www/XXXX.XXX/htdocs
728 ServerName www.XXXX.XXX
729 ServerAlias XXXX.XXX
730 ErrorLog logs/XXXX-error_log
731 CustomLog logs/XXXX-access_log combined
732 RewriteEngine On
733
734 <Directory "/var/www/XXXX.XXX/htdocs">
735 Options Indexes FollowSymLinks
736 AllowOverride AuthConfig
737 Order allow,deny
738 Allow from all
739 </Directory>
740
741 <IfModule mod_auth_digest.c>
742 <Directory "/usr/share/webapps/awstats/6.5/hostroot">
743 Options None
744 AllowOverride None
745 Order allow,deny
746 Allow from all
747
748 AuthType Digest
749 AuthName "AWStats"
750 AuthDigestFile /etc/awstats/.htdigest
751 AuthDigestDomain http://www.XXXX.XXX https://www.XXXX.XXX
752 http://XXXX.XXX https://XXXX.XXX http://www.XXXXXXXXXX.XXX
753 https://www.XXXXXXXXXX.XXX http://XXXXXXXXXX.XXX https://XXXXXXXXXX.XXX
754 require valid-user
755 # The following line is REQUIRED to work around a bug in MSIE.
756 # See http://httpd.apache.org/docs-2.0/mod/mod_auth_digest.html
757 BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
758 </Directory>
759 </IfModule>
760
761
762 Alias /awstats/classes "/usr/share/webapps/awstats/6.5/htdocs/classes/"
763 Alias /awstats/css "/usr/share/webapps/awstats/6.5/htdocs/css/"
764 Alias /awstats/icons "/usr/share/webapps/awstats/6.5/htdocs/icon/"
765 ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5/hostroot/cgi-bin/"
766 ScriptAlias /awstats
767 "/usr/share/webapps/awstats/6.5/hostroot/cgi-bin/awstats.pl"
768 ScriptAlias /awstats.pl
769 "/usr/share/webapps/awstats/6.5/hostroot/cgi-bin/awstats.pl"
770
771 <Directory "/usr/share/webapps/awstats/6.5/htdocs">
772 Options None
773 AllowOverride None
774 <IfModule mod_access.c>
775 Order allow,deny
776 Allow from all
777 </IfModule>
778 </Directory>
779
780 <Directory "/usr/share/webapps/awstats/6.5/hostroot/cgi-bin">
781 Options ExecCGI
782 AllowOverride None
783 <IfModule mod_access.c>
784 Order allow,deny
785 Allow from all
786 </IfModule>
787 </Directory>
788
789 #ecams
790 RewriteCond %{REQUEST_URI} ^/e(f|F)aculty
791 RewriteRule ^/e(f|F)aculty(.*) https://%{HTTP_HOST}/eFaculty$2 [R,L]
792
793 RewriteCond %{REQUEST_URI} ^/e(s|S)tudent
794 RewriteRule ^/e(s|S)tudent(.*) https://%{HTTP_HOST}/eStudent$2 [R,L]
795
796 #exchange
797 RewriteCond %{REQUEST_URI} ^/exchange
798 RewriteRule ^/exchange(.*) https://www.XXXX.XXX/exchange$1
799
800 #Zope Alumni Directory
801 RewriteCond %{REQUEST_URI} ^/alumni/online
802 RewriteRule ^/alumni(.*)
803 http://127.0.0.1:8080/VirtualHostBase/http/www.XXXX.XXX:80/alumni/VirtualHostRoot/_vh_alumni/$1
804 [L,P]
805
806 #Zope Online Application
807 RewriteCond %{REQUEST_URI} ^/apply/online
808 RewriteCond %{REQUEST_URI} !^/apply/online.html
809 RewriteRule ^/apply/online(.*)
810 http://127.0.0.1:8080/VirtualHostBase/http/www.XXXX.XXX:80/VirtualHostRoot/_vh_apply/_vh_online/$1
811 [L,P]
812
813 #Zope CalendarX
814 RewriteCond %{REQUEST_URI} ^/caladmin
815 RewriteRule ^/caladmin(.*)
816 http://127.0.0.1:8082/VirtualHostBase/http/www.XXXX.XXX:80/Plone/VirtualHostRoot/_vh_caladmin/$1
817 [L,P]
818
819 RewriteCond %{REQUEST_URI} ^/calendar
820 RewriteRule ^/calendar(.*)
821 http://127.0.0.1:8082/VirtualHostBase/http/www.XXXX.XXX:80/Plone/calendar/VirtualHostRoot/_vh_calendar/$1
822 [L,P]
823
824 #Zope Continuing Education
825 RewriteCond %{REQUEST_URI} ^/ce_online
826 RewriteRule ^/ce_online(.*)
827 http://127.0.0.1:9081/VirtualHostBase/http/www.XXXX.XXX:80/ceonline/VirtualHostRoot/_vh_ce_online/$1
828 [L,P]
829
830 <Location /ce_online>
831 Header unset Vary
832 </Location>
833
834 #Zope Tech instance
835 RewriteCond %{REQUEST_URI} ^/tech
836 RewriteRule ^/tech(.*)
837 http://127.0.0.1:9081/VirtualHostBase/http/www.XXXX.XXX:80/tech/VirtualHostRoot/_vh_tech/$1
838 [L,P]
839
840 RewriteCond %{REQUEST_URI} ^/et
841 RewriteRule ^/et(.*)
842 http://127.0.0.1:9081/VirtualHostBase/http/www.XXXX.XXX:80/encounterjournal/VirtualHostRoot/_vh_et/$1
843 [L,P]
844
845 </VirtualHost>
846
847 <IfDefine SSL>
848
849 <IfModule mod_ssl.c>
850 <VirtualHost 172.19.2.92:443>
851 ServerAdmin admin@××××.XXX
852 DocumentRoot /var/www/XXXX.XXX/htdocs
853 ServerName www.XXXX.XXX
854 ServerAlias XXXX.XXX
855
856 # General setup for the virtual host
857 ErrorLog logs/XXXX-ssl_error_log
858
859 <IfModule mod_log_config.c>
860 TransferLog logs/XXXX-ssl_access_log
861 </IfModule>
862
863 SSLEngine on
864
865 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:
866 +eNULL
867
868 SSLCertificateFile conf/ssl/www.XXXX.XXX.crt
869
870 SSLCertificateKeyFile conf/ssl/www.XXXX.XXX.key
871
872 <Files ~ "\.(cgi|shtml|phtml|php?)$">
873 SSLOptions +StdEnvVars
874 </Files>
875
876 <Directory "/var/www/localhost/cgi-bin">
877 SSLOptions +StdEnvVars
878 </Directory>
879
880 <IfModule mod_setenvif.c>
881 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown \
882 downgrade-1.0 force-response-1.0
883 </IfModule>
884
885 <IfModule mod_log_config.c>
886 CustomLog logs/ssl_request_log \
887 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
888 </IfModule>
889
890 <IfModule mod_rewrite.c>
891 RewriteEngine On
892 #RewriteOptions inherit
893 </IfModule>
894
895 #ZOPE
896 RewriteCond %{REQUEST_URI} ^/apply/online
897 RewriteCond %{REQUEST_URI} !^/apply/online.html
898 RewriteRule ^/apply/online(.*)
899 http://127.0.0.1:8080/VirtualHostBase/https/www.XXXX.XXX:443/VirtualHostRoot/_vh_apply/_vh_online/$1
900 [L,P]
901 #/ZOPE
902
903 #ZOPE
904 RewriteCond %{REQUEST_URI} ^/alumni/online
905 RewriteRule ^/alumni(.*)
906 http://127.0.0.1:8080/VirtualHostBase/https/www.XXXX.XXX:443/alumni/VirtualHostRoot/_vh_alumni/$1
907 [L,P]
908 #/ZOPE
909
910 #ZOPE
911 RewriteCond %{REQUEST_URI} ^/zforms
912 RewriteRule ^/zforms(.*)
913 http://127.0.0.1:8080/VirtualHostBase/https/www.XXXX.XXX:443/VirtualHostRoot/zforms/$1
914 [L,P]
915 #/ZOPE
916
917 #Zope CalendarX
918 RewriteCond %{REQUEST_URI} ^/caladmin
919 RewriteRule ^/caladmin(.*)
920 http://127.0.0.1:8082/VirtualHostBase/https/www.XXXX.XXX:443/Plone/VirtualHostRoot/_vh_caladmin/$1
921 [L,P]
922
923 RewriteCond %{REQUEST_URI} ^/calendar
924 RewriteRule ^/calendar(.*)
925 http://127.0.0.1:8082/VirtualHostBase/https/www.XXXX.XXX:443/Plone/calendar/VirtualHostRoot/_vh_calendar/$1
926 [L,P]
927
928 #TECH_ZOPE
929 RewriteCond %{REQUEST_URI} ^/tech
930 RewriteRule ^/tech(.*)
931 http://127.0.0.1:9080/VirtualHostBase/https/www.XXXX.XXX:443/VirtualHostRoot/_vh_tech/$1
932 [L,P]
933 #/TECH_ZOPE
934
935 RewriteCond %{REQUEST_URI} ^/ce_online
936 RewriteRule ^/ce_online(.*)
937 http://127.0.0.1:9081/VirtualHostBase/https/www.XXXX.XXX:443/ceonline/VirtualHostRoot/_vh_ce_online/$1
938 [L,P]
939
940 #EXCHANGE
941 ProxyPreserveHost On
942 RequestHeader set Front-End-Https on
943 ProxyPass /exchange http://172.19.2.5/exchange
944 ProxyPassReverse /exchange http://172.19.2.5/exchange
945 ProxyPass /exchweb http://172.19.2.5/exchweb
946 ProxyPassReverse /exchweb http://172.19.2.5/exchweb
947 ProxyPass /public http://172.19.2.5/public
948 ProxyPassReverse /public http://172.19.2.5/public
949
950 RewriteEngine On
951 RewriteCond %{REQUEST_URI} ^/efaculty
952 RewriteRule ^/efaculty(.*) https://%{HTTP_HOST}/eFaculty$1 [R,L]
953
954 RewriteCond %{REQUEST_URI} ^/estudent
955 RewriteRule ^/estudent(.*) https://%{HTTP_HOST}/eStudent$1 [R,L]
956
957 ProxyPreserveHost On
958 RequestHeader set Front-End-Https on
959 ProxyPass /eFaculty http://172.19.2.31/eFaculty
960 ProxyPassReverse /eFaculty http://172.19.2.31/eFaculty
961 ProxyPass /eStudent http://172.19.2.31/eStudent
962 ProxyPassReverse /eStudent http://172.19.2.31/eStudent
963
964
965 </VirtualHost>
966
967 </IfModule>
968
969 </IfDefine>
970
971
972 --
973 Edward Muller - Interlix
974 edwardam@××××××××.com
975 417-862-0573
976 PGP Key: http://interlix.com/Members/edwardam/pgpkeys

Replies