LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-26-2003, 01:45 PM   #1
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Rep: Reputation: 30
Help with Apache 1.3 and Proxy-Authorization


Hi all,
I'm running RH 7.2 with Apache 1.3.22. I wrote some software
that sends lots of PUT commands to the server and it works fine,
but I want to use persistent connections now to speed it up (it
IS very slow).

I am trying to use HTTP 1.1 since it handles persistent connections better than 1.0, but I keep getting a 407 error:
Proxy-Authorization required.

I have two questions:
1) Is there a way to just turn off authorizations in Apache?
2) I tried adding "\nProxy-Authorization: Default\n" to the header, but it didn't like it. What credentials is it expecting? Can I just make them up or does it cross-reference them somewhere?

I've been reading the RFCs and I'm just more confused than ever now!

Thanks for any help. as always, I appreciate it.
 
Old 09-06-2003, 06:45 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
1) Is there a way to just turn off authorizations in Apache?
Yes. Check your httpd.conf for proxy configuration. Else scrub for unnecessary details and post it.

2) I tried adding "\nProxy-Authorization: Default\n" to the header, but it didn't like it. What credentials is it expecting?
Something like "username:password" would be my first guess.

Last edited by unSpawn; 09-06-2003 at 06:46 AM.
 
Old 09-16-2003, 01:57 PM   #3
registering
Member
 
Registered: Jun 2003
Location: Florida, USA
Distribution: Drake 10.1 Download
Posts: 182

Original Poster
Rep: Reputation: 30
This is how my httpd.conf defines my proxy:

................

# Performance parameters
MaxClients 75
TimeOut 150
KeepAlive on
MaxKeepAliveRequests 100
MaxRequestsPerChild 50
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 20
StartServers 8

.....................


# Virtual hosts


# Virtual host Default Virtual Host

NameVirtualHost *

.............................

<VirtualHost *>
ServerName www.ABC.org
DocumentRoot /var/www/html

#ProxyRequests Off

ProxyPass / http://192.168.0.130/
ProxyPassReverse / http://192.168.0.130/

<Directory proxy:*>
Order deny,allow
Deny from all
Allow from all
</Directory>

</VirtualHost>

# Directories...

<Directory proxy:*>
Order deny,allow
Deny from all
Allow from all
</Directory>


I thought the <Directory proxy:*> part would turn off all authentications for proxying, however when I send my HTTP GET, I always get a 407 error.

Unfortunately this is apache 1.3.22 which I heard had issues with proxying, but I still assume I'm just configuring something wrong.

This is the actual msg, in case there's something wrong with my headers (a PUT is embedded in the GET):

Code:
GET http://www.ABC.org/pages/receiveHostData.php?data=PUT+JOST1+CR10-150+1063692000+-66.30300+-33.86700+0.00000+607.84003+0.20000+0.00000+ HTTP/1.1
Host: www.ABC.org
Connection: Keep-Alive
Thanks for any help!

Last edited by registering; 09-16-2003 at 02:39 PM.
 
  


Reply



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
apache authorization problem (im a newbie) plz help very urgent ruslan40321 Linux - Networking 6 06-17-2005 10:00 PM
Apache question....authorization and multiple servers geekdevil Linux - Software 3 01-13-2005 02:11 PM
apache as a proxy? berrance Linux - Software 1 11-11-2004 07:21 AM
Apache authorization Sherpa Linux - Software 4 04-25-2004 10:38 AM
Proxy Authorization with a windows prompt macaddict Linux - Networking 0 09-01-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:27 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
Open Source Consulting | Domain Registration