Server :: Apache2.2 MOD_PROXY ProxPass With HTTP Authentication

Dec 24, 2010

I have a server acting as a proxy to a couple of IP cameras on my local network. The IP cameras require HTTP-Authentication (Basic) but I want the outward facing Apache server to automatically log in without prompting the user for a login.

My current configuration is:

Code:

That works as a proxy but still asks for a HTTP Auth login. Can I get Apache to pass the login details to the IP cameras so users can just hit up the proxy and view the camera without having to log in?

View 2 Replies


ADVERTISEMENT

Server :: Apache2 Mod_proxy Failing With Ssl

May 14, 2010

I seem to be having a problem with mod_proxy and https websites. A simple connection to port 80 works fine but all calls to 443 fail.

I had a look at my firewall but can't see anything that would block port 443, although I get no tcpdump traffic on that port on the deb01 client when I try and connect to it. I disabled the firewall but still no luck.

My configuration consists of 3 VMs (KVM) each running a different website.

I get the following error when connecting to ssl deb01

Code: An error occurred during a connection to deb03.example.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

The following is what can be found on the host

Code:

View 1 Replies View Related

Server :: 4 Websites On Different IP - How To Host Them Using Apache2 Mod_proxy ?

Apr 12, 2010

Dom0 is having public IP. I read a lot of blog and tutorials about name based and IP based hostings and also about mod_proxy. But I am unable to do.

Here is what I am trying to do. I have a webserver on public IP.Which is running Xen on it. There are 4 Guest Operating systems installed on top of Dom0 which are Dom1,Dom2,Dom3,Dom4 These are application servers which are going to serve the requests that come from the main server.Which is Dom0.

All I see is "It works" on all 4 of the hosts. On my LAN on any machine on same subnet if I do [url] of Domu1 message comes

Code:

in browser from LAN gives me a message

Code: It works.

What do I need to do on Dom0 so that requests are forwarded to the appropriate DomUs apache2 is running on all of them including Dom0.Some one suggested me to go for ReverseProxy in Apache2.

View 3 Replies View Related

Server :: Using Apache2 Prefork As Proxy (mod_proxy)?

Mar 9, 2010

i'm using apache2 prefork as proxy (mod_proxy) and i'm facing some performance problems such freezes , for instance the entire server blocks and becomes totally unresponsive after several requests.

at first i thought that the system is running out of memory so i tweaked the mpm config and reduced the number of allowed processes that can start concurrently , however the problem still persists..would mpm worker serve better than prefork ?

View 1 Replies View Related

Networking :: Set Up Webmin With Apache2 Http Server

Jun 14, 2010

I have recently downloaded and installed apache2 http server from tarball source (i'm running ubuntu but i think its more fun to use tarballs i don't know why but its how i am) anyway i just installed apache2 and when i go into the servers section of webmin and click on apache web server i get this message:

The Apache server executable /usr/local/apache2/conf/ does not exist. If you have Apache installed, adjust the module configuration to use the correct path. and when i go to the configuration menu i don't understand a word of it.

View 9 Replies View Related

Ubuntu Servers :: Configure Apache2 To Proxy That Folder To Jetty Using Mod_proxy?

Mar 20, 2010

I have a php app set up in the default virtualhost, and want to add a Grails app. The grails app runs on [URL] and I want to configure apache2 to proxy that folder to Jetty using mod_proxy.

Module is enabled

Code:

$ sudo a2enmod proxy
Module proxy already enabled

[code]....

Quote:

[Sun Mar 21 00:14:56 2010] [warn] proxy: No protocol handler was valid for the URL /mailscan. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. My apache2.conf contains no LoadModule lines, and a2enmod says it's already enabled. Does Ubuntu Desktop (Karmic) use the DSO versions of modules, or did I miss something else? I'm aware I should also use mod_proxy_html to make sure only the "portless" version of the address is outputted, but I can fix that later!

View 1 Replies View Related

Debian :: Apache2 Web Authentication Against Radius Server - Jessie

Mar 22, 2016

How to configure Web authentication against RADIUS server on Debian Jessie, because the package libapache2-mod-auth-radius is not available on debian mirrors.

I would like to know what happened to this package and what is the newest way to configure radius auth. Some people have told me to compile this package, but is there not an easier way to do that?

View 1 Replies View Related

Software :: Error, Check The HTTP Server Authentication Requirements For Accessing This CGI

Jan 1, 2010

I using rhel5 i installed&configured nagios ofter loged in the nagios server when i m enter hosts & services i m getting this error # it appears as though you do not have permission to view information for any of the hosts you requested. If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file.

View 9 Replies View Related

Programming :: Http Authentication With Libxml2

May 29, 2011

I'm trying to add HTTP authentication to my app (it's a rss reader). As the app is in written in C and uses Libxml2, I've been searching in Libxml2 doc, but it seems it's not possible. Maybe someone could point me to a link to relevant info about how I could achieve that?

View 6 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

Debian Configuration :: How To Integrate Apache2 With Freeradius For Authentication

Feb 4, 2016

I am trying in debian 8.2 but i am not found packet libapache2-mod-auth-radius whereas i have been include dvd1-3 debian and dvd1-2 update debian in my system. Where is that packet stand?

View 1 Replies View Related

Server :: Apache Mod_proxy And Virtualhost ?

Nov 3, 2010

I have figured out how to use virtualhost, proxypass and proxypassreverse. So far, so good.

The problem I'm experiencing is this:

I have a reverse proxy server running apache (123.123.123.123)

Behind this proxy server I have a http server running apache (124.124.124.124).

This http server has multiple sites (virtualhost), it's only reachable via the proxy server.

If i run a nslookup on www.somedomain.com I get 123.123.123.123 (Not really but you understand what I mean)

I put my proxy to have the IP 123.123.123.123, so far so good. The requests come in to the proxy server.

I want my http server to be named 124.124.124.124.

In the http server I wish to set up my virtualhosts like this:

How do I get my proxy to grab the data from the http server?

If I do like this I will only make another request to my proxy server.

If I do like this, only the first page in the httpd.conf in my http server will work.

Do I need to setup a different DNS server for the proxy server? I would hate that. Perhaps use hosts-file in proxy. Or maybe I can use sub-domains?

View 1 Replies View Related

Ubuntu Servers :: Nagios On 10.04 Server Using Apt-get - HTTP WARNING: HTTP/1.1 404 Not Found

Aug 4, 2010

I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?

View 1 Replies View Related

Ubuntu :: Authenticate Through HTTP Authentication Via Bash Script?

Jun 23, 2011

I have a process where by all SVN repositories are held in /var/svn/[domain]. I have set-up a post-commit hook to automatically checkout the repository to the development site and delete all .svn directories recursively through-out.I intend to run a bash script (as below); this is where my problem lies. EVERY repository is "Open" and anyone can read, write and commit the repository, however thus is secure via HTTP Authentication, using htpasswd.

Because the hook is automatic, I would like to be able to collect the current user/password but I don't think it's possible so I have created an account for the system called "svnroot" with a password.How can i authenticate through the HTTP Authentication via my bash script?

View 2 Replies View Related

Server :: Disabling Apache Mod_proxy Features

Mar 31, 2011

I'm using CentOS 5 and just found out that there are people using my Apache Web Server as proxy (version 2.2.3 the OS's default).

I've checked out that my mod_proxy is already disabled but the unauthorized incoming request is still very large.

So I tried to compile an Apache from raw (2.2.17) just enabling mod_rewrite and then found out that the 'proxy' request is still there.

Tried httpd -l and here are the modules inside the Apache :

Code:
# /opt/apachew/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c

[Code]....

There should be no mod_proxy but why should it still accepting proxy request? I checked the access_log file and still found [URL] and so on.

My question is : - How to block all the proxy request and only accepting the normal web server request? I also have tried to enable proxy in the previous Apache and then setting up "ProxyRequest Off" and Proxy * only from localhost but the request is still there.

I tried by myself using the webserver as proxy in browser and all the URLs I opened including the false URL will be redirected to my index.php and this should show me that 'you-can't-use-this-as-proxy-anymore' right?

Insane people still believe they could use my server and they keep trying and trying.

I couldn't block the IP addresses because some of them are using the mobile data (GPRS/UMTS) and that is our market for the website.

View 5 Replies View Related

Ubuntu Multimedia :: Record A Stream With Http Cookie Authentication?

Apr 2, 2010

I can open the stream fine from Firefox and I have recorded streams using VLC, however this one uses cookies as authentication and VLC will not play it Apparently it's considered a security issue so cookie support has not been implemented for VLC.

View 2 Replies View Related

CentOS 5 Server :: HTTPD Won't Restart After Update: Mod_proxy_ajp Fails If Mod_proxy Not Loaded

Apr 29, 2010

I have just been told that httpd was not running on my Centos virtual server. It seems that my hosting company rebooted my server 2 days ago and that httpd restart failed due to:

Starting httpd: httpd:
Syntax error on line 213 of /etc/httpd/conf/httpd.conf:
Syntax error on line 2 of /etc/httpd/conf.d/proxy_ajp.conf:
Cannot load /etc/httpd/modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module

I had worked around and forgotten about this some time ago. The problem arose because the most recent httpd update installed proxy_ajp.conf into /etc/httpd/conf.d which was then loaded on restart The trouble is I do not use mod_proxy (I think just to try and get a lean and mean web server) and proxy_ajp.conf does not check if mod_proxy is loaded before it tries to LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

Hence httpd fails to restart. RedHats's bug tracker lists this as an old issue (which was never resolved) [URL] My workaround was to rename proxy_ajp.conf to proxy_ajp.conf.orig so that httpd would start up correctly. However any updates simply reinstall proxy_ajp.conf and so IMO the problem needs to be resolved at source. how to ensure that httpd updates do not bite me in the future? Do I really have to run mod_proxy whether or not I need it?

View 6 Replies View Related

Server :: Su: Authentication Service Cannot Retrieve Authentication Info?

Mar 12, 2010

I have a problem with ldap client authentication in ubuntu. I am using rhel5 as openldap server and I configured ubuntu as client, when I am trying to login the following message is coming."su: Authentication service cannot retrieve authentication info. Sorry"
But when I do search through "ldapsearch" command output is coming without any errors, Can anybody explain what would be problem.

View 1 Replies View Related

Server :: Squid Proxy Authentication And Without Authentication

May 27, 2011

I have a network and am using squid proxy with authentication I want to create another subnet without authentication.

View 1 Replies View Related

Server :: Http Server In Red Hat 6 - Extend Web Server Through Virtual Hosting?

Aug 17, 2011

how do i able to allow some users that are able to create content in directory of http server. For example: i have configured a web server which have default document root /var/www/html, now i want to extend my web server through virtual hosting , i have enable virtual hosting, but i want that user sumit is able to create content in /var/www/html/secret. which is the document root for my virtual site?

View 5 Replies View Related

Server :: Apache2: Could Not Reliably Determine The Server's Fully Qualified Domain Name

Oct 24, 2010

Using Debian Lenny I'm getting the following message in my mail: /etc/cron.daily/logrotate:

Quote:

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

View 1 Replies View Related

CentOS 5 Server :: Gateway Server To Redirect Traffic For Http/smpt/pop3

Apr 6, 2010

I have been beating my head for the last few weeks on this problem, (although I have been taking the wrong approach, it seems).

I need a gateway to direct web traffic to three separate servers/domains. I have been trying to do this with both a dns server and , (seperatly), apache server to forward requests. The dns server was a no go, and <i can only get apache to redirect http and ftp.

After Googling this ALOT, I believe that what I need is a gateway server to redirect my traffic to the 3 different servers. I have been reading about using using nat and iptables for this and was wondering if anyone had any advice/suggestions on this. The other thought I had was to use something like pfSense to create the gateway, but I am still reading the documentation, and I am unsure if this approach will work.

View 1 Replies View Related

Server :: Server Offers PHP File For Download On HTTP But Is Fine On HTTPS

Mar 8, 2011

I have a debian box running Apache2 and PHP5.2.6 lenny.

When a request is made via https, php displays the content fine. If the request is made over HTTP the file is offered for download, rather than displaying it.

I know its probably something trivial but I've never seen this issue.

The plot thickens, I can display PHP over HTTP in some directories but not others (which offer the file for download)?

View 9 Replies View Related

Server :: Squid Accepts Only HTTP Requests But Speaks FTP On The Server Side?

Apr 26, 2011

Here is my query:

Squid document says that Squid accepts only HTTP requests but speaks FTP on the server side when FTP object are requested.

We call Squid HTTP and FTP caching proxy server. Does it also caches FTP contents? Is it possible to configure FTP clients to use Squid cache? When we make an FTP request to an FTP site via Squid will it be bypassed?

View 5 Replies View Related

Networking :: Craft A Valid Http/1.1 Request For Getting Http Headers (not The Html File Itself)

Sep 27, 2010

Using netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.

nc -v www dot aalto dot fi 8080
HEAD / HTML/1.1
host: www dot aalto dot fi
And it returns:
200 OK
Content-Length: 858
Content-Type: text/html
Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT
[Code]....

I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.

View 2 Replies View Related

Server :: Make Auto Replace Http Url In A Web Server?

Jul 2, 2010

I setting up a web server on my Linux (Centos) using "Apache" web server. And its working well, it will show my websites. But when i try to put my url in a internet browser (ie. only type "myweb.com" ) is only be [URL]. Usually as i know like the other websites (ie. google.com) it will go to auto replace the name be [URL]. But my url here it's not be replacing like that. How to do this configuration. I don't know where the services that i need to look. (ie; named (bind) or in Apache web server it self)?

View 2 Replies View Related

Software :: Mod_proxy With ActiveX ?

Apr 15, 2010

I have a proxy with SSL that forward any request to a backend platform. In this moment I have a problem if I'm trying to execute an activex on the backend platform. I'm reading that the mod_proxy blocks any activex request because it don't trust for the system. How I can do? I'm reading about mod_security.

Code:

View 2 Replies View Related

Software :: Mod_proxy - 70007 - The Timeout Specified

Apr 15, 2010

I have an httpd server with mod_proxy that forward any request to an another server.

the flow is: client --> requesto proxy [url]forward to server [url]

I'm reading this error in my httpd log in LogLevel debug (after some request):

Code:

Code:

and this is my ssl.conf in /etc/httpd/conf.d

Code:

how I can find the root cause?

View 2 Replies View Related

CentOS 5 :: Set Up A Reverse Proxy With Mod_proxy

Nov 19, 2010

I'm working on setting up a hosted OSS app on a VPS and have a question about doing some proxying. I have Centos 5.5/Apache 2.2 running on 2 VPS's, in different locations, accessible from the net. One of these hosts the app itself, the other will be used as a web portal where the end user will login to auth and then be able to access the app. Now, since I don't wan't access to the app server from the world at large, I want to firewall it and only allow access from the portal machine. So what I think I need to do is set up a reverse proxy with mod_proxy, and then if the end user auths forward them to a specific url on the app server.

So when they connect to [url] and log in I need them to be redirected to app.machine.com/theirdir

So the questions I have are:

1) Can this be done? If so, is mod_proxy the way to do it? Configuring Apache isnt a problem, but I havent worked with mod_proxy.

2) If this does work, will it also work with SSL?

3) I've seen a few small tutorials on the net, but not doing exactly what I want to. They all use the reverse proxy with a public IP connecting to a server with a private IP behind a firewall, while I have public IP's on both ends. From a network standpoint I know this shouldn't matter, but I'm not familiar with mod_proxy's particulars itself.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved