Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Proxy and Authentification

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  mod_deflate config question  
Author Message
nefertem

External


Since: Sep 27, 2004
Posts: 3



(Msg. 1) Posted: Mon Sep 27, 2004 10:57 pm
Post subject: Proxy and Authentification
Archived from groups: alt>apache>configuration (more info?)

Hi,
I tried to configure an apache 2.0.49 to proxy some other ports to port 80
and i tried to put an authentification on it, but it didn't work.
(So i could implement authentification on software that wasn't designed for
this)

Config:
<VirtualHost 192.168.0.20:80>
....bla...
ProxyPass /tools/app1/ http://localhost:4080/
ProxyPassReverse /tools/app1/ http://localhost:4080/
</VirtualHost>

<Directory proxy:*>
order deny,allow
deny from all
allow from all

AllowOverride AuthConfig
Options None
Order deny,allow
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/apache2/passwords.txt
Require user jean-luc
</Directory>


But the browser never gives me a login....

Did someone this before?

Thanks,
Jean-Luc

 >> Stay informed about: Proxy and Authentification 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Sep 27, 2004 10:57 pm
Post subject: Re: Proxy and Authentification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-27, Nefertem <nefertem.DeleteThis@gmx.net> wrote:
 ><Directory proxy:*>

If it's a directory doesn't have any port number. A directory
is a directory.

 > order deny,allow
 > deny from all
 > allow from all

Funny. So you deny from everywhere and the allow from everywhere...

Davide

--
I can't wait for EDLIN to be ported for Windows.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Proxy and Authentification 
Back to top
Login to vote
nefertem

External


Since: Sep 27, 2004
Posts: 3



(Msg. 3) Posted: Mon Sep 27, 2004 11:08 pm
Post subject: Re: Proxy and Authentification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please excuse me, was a copy paste error Smile
So here is the right configuration:
<Directory proxy:*>
order deny,allow
deny from all

AllowOverride AuthConfig
Options None
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /etc/apache2/passwords.txt
Require user jean-luc
</Directory>

And the software who's listening on port 4080 isn't a directory, it's a
configuration page for a daemon.

Thanks.


"Davide Bianchi" <davideyeahsure RemoveThis @onlyforfun.net> wrote in message
news:slrnclglb1.1es.davideyeahsure@fogg.onlyforfun.net...
 > On 2004-09-27, Nefertem <nefertem RemoveThis @gmx.net> wrote:
  >><Directory proxy:*>
 >
 > If it's a directory doesn't have any port number. A directory
 > is a directory.
 >
  >> order deny,allow
  >> deny from all
  >> allow from all
 >
 > Funny. So you deny from everywhere and the allow from everywhere...
 >
 > Davide
 >
 > --
 > I can't wait for EDLIN to be ported for Windows.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Proxy and Authentification 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Mon Sep 27, 2004 11:08 pm
Post subject: Re: Proxy and Authentification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-27, Nefertem <nefertem RemoveThis @gmx.net> wrote:
 > So here is the right configuration:
 ><Directory proxy:*>

Still doesn't make sense. If it is a directory doesn't
have a PORT number! Must be a directory (a Path).

 > order deny,allow
 > deny from all

So, now you've closed everybody out...

Davide

--
Unix: Where /sbin/init is still Job 1.
-- From a Slashdot.org post<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Proxy and Authentification 
Back to top
Login to vote
nefertem

External


Since: Sep 27, 2004
Posts: 3



(Msg. 5) Posted: Tue Sep 28, 2004 1:01 am
Post subject: Re: Proxy and Authentification [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Davide Bianchi" <davideyeahsure RemoveThis @onlyforfun.net> wrote in message
news:slrnclgnh4.1jd.davideyeahsure@fogg.onlyforfun.net...
 > On 2004-09-27, Nefertem <nefertem RemoveThis @gmx.net> wrote:
  >> So here is the right configuration:
  >><Directory proxy:*>
 >
 > Still doesn't make sense. If it is a directory doesn't
 > have a PORT number! Must be a directory (a Path).

Sure, <Directory Proxy:*> is a general directive for global proxy
configuration, it should deny access to everybody except authenticated
users.
With the proxypass command, i replace a directory with an other web server
(in this case localhost:4080)

  >> order deny,allow
  >> deny from all
 >
 > So, now you've closed everybody out...
 >
 > Davide
 >
 > --
 > Unix: Where /sbin/init is still Job 1.
 > -- From a Slashdot.org post<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Proxy and Authentification 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SSL proxy - Hi, I would like to have apache working as proxy SSL server. It means, connection from client in the Internet to apache is encrypted and from apache to the second server behind him is decrypted. Is it possible such configuration? Client -->..

Log Apache Proxy - Hi to all I'm searching a software to analyse the Proxy logs Apache 2.0 I have installed Apache 2.0 on my Iseries V5R2M0 but I don't find any log analyser for Apache. I have found only 1 software running on a Windows Pc www.wavecrest.com but this..

Proxy more than http? - Just wondering if anyone has been able to or heard of being able to proxy (reverse proxy) requests other than http. Scenario: Web application with gui client. The site is laid out in http but the client connects to the backend application on a straight..

How to use apache as a "proxy" ? - Hi, I have a network camera on a LAN, which is connected to the internet by a router. My question is : As the camera is "fully accessible" from the LAN, i would like to make it accessible by the internet through the router, but with using a &qu...

Proxy caching - Hello NG, how can I disable that html pages are cached by the companies proxy server. Best regards, Dirk
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]