Re: [users@httpd] htaccess file and computer names

2013-02-21 Thread Krist van Besien
On Tue, Feb 19, 2013 at 7:49 PM, Marc Fromm wrote: > I am using some htaccess files to control access to a few web pages. > > The htaccess file works if I use the ip address of the computer to grant > access, but not its name. If you want apache to be able to grant access based on computer name y

Re: [users@httpd] mod_proxy_html not working when using carriage returns

2013-02-21 Thread Krist van Besien
On Mon, Feb 18, 2013 at 10:52 AM, Pablo Florencio wrote: > The problem I see is that mod_proxy_html can't convert urls when there is a > carry return inside it. For example, here there are two links: > > > href="https://10.10.10.10/example/working_OK.html"; > > https://10.10.10.10/example/not_wo

Re: [users@httpd] apache revealing the hostname of backend tomcat server.

2013-02-21 Thread Krist van Besien
On Thu, Feb 21, 2013 at 12:44 PM, Amol Puglia wrote: > Hello Team, > > I am redirecting request from apache to backend server tomcat using > mod_proxy_balancer. > > The request is getting redirected but url is getting converted to backend > server url. > > For example :- > > If apache web server u

Re: [users@httpd] how to configure ProxyPass for tomcat for app which generates url at root /

2011-02-25 Thread Krist van Besien
On Thu, Feb 24, 2011 at 8:39 AM, James Godrej wrote: > Let me know if some one has some suggestion for this part. Firstly: Have you correctly configured mod_jk? Do you have a mod_jk log file? What is in it? What is in your error log? Secondlyl: If in ProxyPass the LHS ends in a / the RHS must e

Re: [users@httpd] Re: ssl-vhost-mixing issue

2011-02-21 Thread Krist van Besien
On Mon, Feb 21, 2011 at 10:09 AM, Hajo Locke wrote: > > Nobody has an opinion about this issue? I think this is critical. Either a > bug in apache or a bug in my conf. my conf seems clean, i cannot solve this. > it should be impossible that apache is mixing vhost-special directives. i > can repro

Re: [users@httpd] How to Retain https protocal

2011-02-20 Thread Krist van Besien
On Sun, Feb 20, 2011 at 8:45 AM, Tushar Chavan wrote: > Hi , > > We have below configuration in httpd-ssl.conf file. > > ProxyPass   /irj    http://essdevwd01:8100/irj > ProxyPassreverse    /irj    http://essdevwd01:8100/irj > > > Now when we execute https://Apache_host/irj  it

Re: [users@httpd] database expires and kills website

2011-02-15 Thread Krist van Besien
On Mon, Feb 14, 2011 at 4:54 PM, Norman Fournier wrote: > I have a website running with an expiry date set for 1 week in the database > file. Once the .db file expires the site goes offline. I then have increment > the serial number,  to grep for "named" and -HUP the process to bring the > sit

Re: [us...@httpd] Adding multiple keys and cert to a virtual host

2011-01-03 Thread Krist van Besien
On Sun, Jan 2, 2011 at 8:21 PM, Mohit Anchlia wrote: > Apache 2: > > I have a need to add multiple certs and keys to a given virtual host. > I don't see a way to add multiple keys or certs to one virtual host. > For eg: key and cert for abc.com and def.com in 10.10.10.101:80> > > Is there a way t

Re: [us...@httpd] New to Apache

2010-12-02 Thread Krist van Besien
On Fri, Dec 3, 2010 at 6:15 AM, Ahmad Pakhri Yahya wrote: > I don’t know where to start. MOD_REWRITE? IP based virtual host. Name based > virtual > host?  Can someone point me to the right direction. What you probably need is a reverse proxy. You could start here: http://www.apachetutor.org/ad

Re: [us...@httpd] How to proxy FTP protocol with WinSCP client ?

2010-11-08 Thread Krist van Besien
On Mon, Nov 8, 2010 at 11:56 AM, wrote: > The AlllowCONNECT directive permits only to use static ports, and I didn't > find other directives to solve my problem ! > The same configuration with WinSCP client works fine with "squid", but I > prefer to use apache for other reasons, so can you help

Re: [us...@httpd] Why do apache-devs not provide the x64 version of httpd binary?

2010-11-07 Thread Krist van Besien
On Mon, Nov 8, 2010 at 5:02 AM, Sharl.Jimh.Tsin wrote: > well,thanks for your reply.it seems to be that i have to bulid it by myself > now. You could also choose not to run it on Windows. Install a modern Linux distritbution, and you'll have a 64bit server with apache in less than half an hour.

Re: [us...@httpd] Re: possible to add multiple locations for the document root

2010-10-26 Thread Krist van Besien
On Mon, Oct 25, 2010 at 3:28 PM, e-letter wrote: > Below is extract from the file '/etc/httpd/logs/error_log': > > [Mon Oct 25 12:35:59 2010] [notice] Apache/2.2.6 (Mandriva > Linux/PREFORK-8.2mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_put/2.0.8 > configured -- resuming normal operations > [Mon

Re: [us...@httpd] Options for multiple SSL domains on 1 server

2010-10-04 Thread Krist van Besien
On Fri, Oct 1, 2010 at 11:04 PM, Grant wrote: > I need to set up SSL certificates for multiple domain names on a > single server.  I've done some research and I think these are my > options: > > 1. use multiple IPs > drawbacks: requires separate apache2 config for each SSL domain, extra > IPs must

[us...@httpd] Centralla managing a collection of apache hosts.

2010-09-23 Thread Krist van Besien
Hello all, My current POE uses the ZEUS Webserver quite extensively. Zeus has some advantages from the point of veiw of daily management, but is not free. We are about to implement a new CMS system that depends heavily on a custom module that the supplier can provide in an apache compatible form,

Re: [us...@httpd] Unable to load perl file

2010-09-06 Thread Krist van Besien
On Mon, Sep 6, 2010 at 1:39 PM, aparna aryan wrote: > Please suggest us what needs to be done. Just look carefully at the error message, as it litterally says what is missing: Can't locate ARS.pm in @INC Either the ARS:pm is not present, or present in a directory not included on @INC. It's up t

Re: [us...@httpd] httpd.conf: Invalid argument

2010-06-24 Thread Krist van Besien
On Mon, Jun 21, 2010 at 8:30 AM, Carlos _ wrote: > Hi, i have checked permissions and they are ok,  the sintax of the file i > think is ok. About the default httpd.conf i only make two changes > Listen --> 80 to 7000 > User and Group --> nobody to myuser. > > I compiled Apache with the option --pr

Re: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-10 Thread Krist van Besien
On Tue, Jun 8, 2010 at 11:43 AM, Andy Ee wrote: > Hi, > > To be more detail, the output of Live HTML Headers is correct. The home.html > does internal redirection to login.jsp, but somehow reverse proxy is unable > to map properly. Any idea? Thanks. So when the browser requests home.html the prox

Re: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-10 Thread Krist van Besien
On Tue, Jun 8, 2010 at 11:31 AM, Andy Ee wrote: > Hi Krist, > > I went to install Live HTML Headers and tested it with FireFox browser. > > The output: > > http://10.0.0.7/abc/mysite/home.html > > GET /abc/mysite/home.html HTTP/1.1 > Host: 10.0.0.7 > User-Agent: Mozilla/5.0 (Windows; U; Windows NT

Re: [us...@httpd] Apache/2.2.12 Reverse Proxy

2010-06-08 Thread Krist van Besien
On Tue, Jun 8, 2010 at 8:28 AM, Andy Ee wrote: > However, when I click on hyperlink on the website that does internal PAGE > > REDIRECT, the browser could not display the page. Apparently, the page > > redirect action breaks the reverse proxy. Have you looked at what passes back and forth betwe

Re: [us...@httpd] [Fwd: Reverse Proxy Configuration]

2010-06-08 Thread Krist van Besien
On Tue, Jun 8, 2010 at 4:34 AM, John Iliffe wrote: > If I try to use either of the ProxyHTMLEnable On or ProxyHTMLURLMap > directives apachectl -S still flags them as errors. You have proxy_html 3.0.1. ProxyHTMLEnable is new to 3.1 ... Have a look here: http://apache.webthing.com/mod_proxy_html3

Re: [us...@httpd] NameVirtualHost Directive - - - - Multiple SSL virtual hosts

2010-06-07 Thread Krist van Besien
On Sun, Jun 6, 2010 at 8:04 PM, Jeff Shearer wrote: > > I also carefully verified that my /etc/hosts include a fqdn for each of the > VirtualHosts served from my development server.  Yet, I get the following > error: > > [Sun Jun 06 14:02:11 2010] [warn] NameVirtualHost 192.168.0.93:80 has no

Re: [us...@httpd] mod_rewrite problem IP address coming in URL instead of domain name.

2010-05-27 Thread Krist van Besien
Hello, I'm not entirely sure what your problem is. There is not a single question in your mail. What is your problem? What are you trying to achieve? What are you getting in stead? Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the nor

Re: [us...@httpd] NameVirtualHost *:80 has no VirtualHosts

2010-05-13 Thread Krist van Besien
On Wed, May 12, 2010 at 3:21 PM, Tapas Mishra wrote: > I have 5 websites and all of them are different. > i.e. /etc/apache2/sites-enabled/site1.conf >  /etc/apache2/sites-enabled/site2.conf >  /etc/apache2/sites-enabled/site3.conf >  /etc/apache2/sites-enabled/site4.conf >  /etc/apache2/sites-enab

Re: [us...@httpd] URL is replaced with IP address

2010-05-11 Thread Krist van Besien
On Tue, May 11, 2010 at 9:35 AM, Tapas Mishra wrote: > I am having a weird situation.If some one points to my domain www.mydomain.com > then he does get redirected to the right server but instead of URL it > shows the IP address. > What should I search for or look for. Start here: http://catb.org

Re: [us...@httpd] Reverse Proxy https to http

2010-04-23 Thread Krist van Besien
On Thu, Apr 22, 2010 at 4:31 PM, GB GB wrote: > basically > > this is what the client gets after the POST > http://mydomain.com/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU9P > > rather then getting > > https://mydomain.com/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU

Re: [us...@httpd] Re: HTTPS only for login page (when apache front tomcat)

2010-04-22 Thread Krist van Besien
On Thu, Apr 22, 2010 at 1:38 PM, Nicholas Sherlock wrote: > On 22/04/2010 5:29 p.m., Krist van Besien wrote: >> >> Just consider the following: >> - You direct a user to a login form. He enters username and password, >> gets authenticated and receives a session cookie

Re: [us...@httpd] Reverse Proxy https to http

2010-04-22 Thread Krist van Besien
On Thu, Apr 22, 2010 at 2:21 PM, GB GB wrote: > and in the browser I get the following: The connection has timed out > > http://backend2.ca/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU9P If the browser tries to access the backend directly this is because it was told to do so, prob

Re: [us...@httpd] HTTPS only for login page (when apache front tomcat)

2010-04-21 Thread Krist van Besien
On Thu, Apr 22, 2010 at 6:37 AM, chamila piyasena wrote: > > > actually there are some performance problems. thats why I was thinking of > using https only for login. Yahoo still uses it, Google used it before. The problem is that with the nature of HTTP having only the login dialog protected by

Re: [us...@httpd] HTTPS only for login page (when apache front tomcat)

2010-04-21 Thread Krist van Besien
On Wed, Apr 21, 2010 at 12:38 PM, chamila piyasena wrote: > > Hi, > My application is running on tomcat. And I have fronted tomcat by Apache web > server using mod_jk. And I have successfully added https in apache to all > the pages in my application. But I want to https only for the login page. I

Re: [us...@httpd] Reverse Proxy https to http

2010-04-21 Thread Krist van Besien
On Tue, Apr 20, 2010 at 6:41 PM, GB GB wrote: > #this for some reason becomes http from client perspective > #PreserveHost on does not work with lsw, so I disabled it > RewriteRule       ^/lsw(.*)$    http://backend2.ca:8082/lsw$1     [NC,P,L] > ProxyPassReverse  /lsw          http://backen

Re: [us...@httpd] RewriteRule with [P] Flag

2010-04-16 Thread Krist van Besien
On Wed, Apr 14, 2010 at 11:10 AM, wrote: > A request to https://inthewild.org gets forwarded all right to > http://localhost:9090/index.jsp. The server on localhost:9090 > itself does a http 302 (redirect) to > http://localhost:9090/setup/login.jsp and returns that to > the browser. > > The brow

Re: [us...@httpd] Cannot upload files from Firefox 2.0 to Apache HTTP proxy server

2010-03-04 Thread Krist van Besien
On Thu, Mar 4, 2010 at 1:22 PM, Baljeet Nijjhar wrote: > Hi > I have tried to upload a Microsoft Excel file to my application server from > Firefox 2.0. The HTTP request goes over SSL to Oracle Apache 2 HTTP server > which is configured to act as a proxy server before passing the request to > my a

Re: [us...@httpd] FIPS 140_2 compliant for mod_proxy?

2010-03-03 Thread Krist van Besien
On Wed, Mar 3, 2010 at 3:12 PM, Mike Trent wrote: > The issue is FIPS 140-2 compliance. As a server, apache runs SSL in FIPS > 140-2 compliance, but does not run SSL in FIPS 140-2 compliance as a client. > As stated in the early post the FIPS 140-2 patch was applied but does not > seem to have an

Re: [us...@httpd] Spider Monkey

2010-03-03 Thread Krist van Besien
On Wed, Mar 3, 2010 at 12:46 PM, antoine wrote: > Hello, I have a question in spider monkey api for parsing javascript. > > Is this the right list to apply ?? If not please tell me where to ask. http://lmgtfy.com/?q=spidermonkey+api+mailing+list Krist -- krist.vanbes...@gmail.com kr...@vanb

Re: [us...@httpd] Number of https virtual hosts support under v2.0.59

2010-03-03 Thread Krist van Besien
On Mon, Mar 1, 2010 at 4:30 PM, Ruiyuan Jiang wrote: > Thanks for the response, Krist. > The version of openssl that I am using is good 0.98l. The problem is the > Apache since I can't use 2.2.14 because the bug it has. See my another post > about the page does not refresh automatically after us

Re: [us...@httpd] FIPS 140_2 compliant for mod_proxy?

2010-03-03 Thread Krist van Besien
On Tue, Mar 2, 2010 at 2:39 PM, Mike Trent wrote: > There is a patch that turns on FIPS mode in mod_ssl (listed in my last post) > We can run apache as a server for HTTPS (SSL) in FIPS mode. However when > communicating over HTTPS (SSL) via mod_proxy - mod_ssl is not running FIPS > mode. This can

Re: [us...@httpd] FIPS 140_2 compliant for mod_proxy?

2010-03-01 Thread Krist van Besien
On Mon, Mar 1, 2010 at 9:49 PM, Mike Trent wrote: > > I am asking if FIPS 140-2 support is available for mod_proxy when running > SSL. It is supported in apache SSL proper with this patch: mod_proxy itself never "runs" SSL. SSL is always handled by mod_ssl. What is it exactly that you are trying

Re: [us...@httpd] Order of log entries in the access log?

2010-03-01 Thread Krist van Besien
On Fri, Feb 26, 2010 at 11:29 PM, Geoff Millikan wrote: > What order does Apache write the log entries? > > I'm assuming that if Apache serves 100 responses all in the same time second > window (100 responses per second) I suppose it's going to write them in the > order the response happened and n

Re: [us...@httpd] Number of https virtual hosts support under v2.0.59

2010-03-01 Thread Krist van Besien
On Fri, Feb 26, 2010 at 9:55 PM, Ruiyuan Jiang wrote: > So I wonder whether Apache 2.0.59 supports more than one https reverse proxy > setup? Thanks in advance. You probably are trying to use name based https vertual posts. This used to be impossible, not due to limitations in apache, but due t

Re: [us...@httpd] URL Rewrite goes into infinite loop

2010-02-19 Thread Krist van Besien
On Tue, Feb 16, 2010 at 4:41 PM, su2 wrote: > I have a feeling that my URL request is getting into infinite loop somehow. > But not sure how and where. > > I would appreciate the help. You have to look in your logfiles. What do you see in your access log, and what in your rewrite log? If you don

Re: [us...@httpd] Inaccuracy in mod_ssl docs

2010-02-02 Thread Krist van Besien
On Tue, Feb 2, 2010 at 4:27 PM, Emmanuel Bailleul wrote: > Hi, > > I've been fighting quite long to find the "Makefile" which is mentioned > several times in mod_ssl documentation > (http://httpd.apache.org/docs/2.2/mod/mod_ssl.html) > This Makefile should be used to rebuild certs or crls hashes

Re: [us...@httpd] Apache server configuration help required centos 5/3

2010-02-02 Thread Krist van Besien
On Tue, Feb 2, 2010 at 2:27 PM, venugopal melukote wrote: > Hello, > > My error log says > > [Tue Feb 02 11:52:32 2010] [error] [client 172.16.10.10] client denied by > server configuration: /home/httpd/webdav/vulcan1.txt You have to enable DAV for this directory. From the config you showed us I

Re: [us...@httpd] troubleshooting apache server

2010-01-30 Thread Krist van Besien
On Fri, Jan 29, 2010 at 10:41 PM, Scott Jones wrote: > I run apache 2 on my server, at fyrenice.com, and have no problem accessing > it locally. I run Mailman and SugarCRM among others, but am dead in the > water for the moment. I have ports 80 and 443 forwarded to my server machine > through my L

Re: [us...@httpd] mod_rewrite problem: $1 and $2 not substituted into target url

2010-01-27 Thread Krist van Besien
On Tue, Jan 26, 2010 at 6:32 PM, Chris Brooks wrote: > Any suggestions as to what might be going on? You are not using any sections by chance, are you? Krist -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q

Re: [us...@httpd] redirects only working for some virtual hosts

2010-01-27 Thread Krist van Besien
On Tue, Jan 26, 2010 at 2:34 AM, RYAN vAN GINNEKEN wrote: > Please help as i have been struggling with this problem for a long time and > do not know what else to try for troubleshooting. Are you sure that the requests are going to the virtualhost you expect them to go to? What is the output

Re: [us...@httpd] speaking url is not working inside subfolder

2010-01-20 Thread Krist van Besien
On Tue, Jan 19, 2010 at 5:28 PM, J. Bakshi wrote: > The .htccess successfully redirects the concerned domain into the > sub-folder (TYPO3) . But the problem is with speaking url. Clicking on any > links always and always goes to the very first page. Waht is a "speaking url"? Could it be that you

Re: [us...@httpd] "Perfect" Transparent Proxy Setup?

2010-01-18 Thread Krist van Besien
On Mon, Jan 18, 2010 at 7:10 PM, Brian Kim <09su.resea...@gmail.com> wrote: > I hope that any network expert make my naive idea more concrete. Actually as a general Web Proxy Squid is a better choice. On a Linux system you can use IPTables to forward all requests to port 80 to your squifd proxy, w

Re: [us...@httpd] SSL file location and permissions?

2010-01-18 Thread Krist van Besien
On Mon, Jan 18, 2010 at 8:52 PM, Dan Schaefer wrote: > Is there a standard location where the SSL crt, csr, and key files should be > located? I would prefer to keep them out of "dan's home directory" and put > them in a widely accepted location. If it helps, I am running CentOS and I > have a sta

Re: [us...@httpd] How to set multisites: same domain, different path, one ip address

2010-01-18 Thread Krist van Besien
2010/1/16 Jiongliang Zhang : > so when I using mydomain:80 and mydomain:8080, I can request both of them. > But now I have new reqirements, I hope using mydomain/mailman and > mydomain/redmine > to identify them, just like: > >     http://mydomain/mailman >     http://mydomain/redmine > > on ubunt

Re: [us...@httpd] Very Very strange problem in opensuse 11.1, file uploading reports "not an image file"

2010-01-18 Thread Krist van Besien
On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi wrote: > I can see the files are transferred but after > that it simply reports "Not an Image file". What is "it" here. Is this error message logged in a logfile somewhere, or is it displayed in your webbrowser? Krist -- krist.vanbes...@gmail.com kr..

Re: [us...@httpd] Getting "Error reading header" messages in error_log

2010-01-04 Thread Krist van Besien
On Wed, Dec 16, 2009 at 1:06 PM, Pravesh Rai wrote: > Hi, > > We are getting either of the following error messages in error_log: > > [error] [client ::1] client sent HTTP/1.1 request without hostname > (see RFC2616 section 14.23): /proxy/ssllogin, referer: > > Or > > [error] [client 127.0.0.1] r

Re: [us...@httpd] How to block nessus scan ?

2010-01-04 Thread Krist van Besien
On Mon, Jan 4, 2010 at 11:25 AM, J. Bakshi wrote: > Does any one know any technique to block nessus scan ? You do not block nessus scans. What you do is perform a nessus scan yourself, and deal with any vulnerabilities it exposes on your server. Krist -- krist.vanbes...@gmail.com kr...@vanbes

Re: [us...@httpd] I need a technique for executing very fast code behind the httpd apache server.

2009-12-27 Thread Krist van Besien
On Sat, Dec 26, 2009 at 2:04 PM, Andrei Paul Nistor wrote: > Hello all. > > Question: Is it any way possible to access through the httpd server > resources like objects or remote procedures that run on the server in binary > form and dont get disposed after each call of the resources? Have you lo

Re: [us...@httpd] Code coverage while running web server

2009-12-20 Thread Krist van Besien
On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG wrote: > I am referring to the Apache code written in C. I would like to see if all > the paths are exercised for - request processing, resource management, > connection pooling, and configuration directives of the apache core. This > would be more li

Re: [us...@httpd] How to remove an environment variable...

2009-12-18 Thread Krist van Besien
On Fri, Dec 18, 2009 at 3:16 PM, Eric Covener wrote: > mod_cgi (and anyone acting like mod_cgi) calls a utility function to > set REMOTE_USER from the internal representation of the user, right > before running the script (in the handler phase).  There does not seem > to be any window where you c

[us...@httpd] How to remove an environment variable...

2009-12-18 Thread Krist van Besien
Hello all, I have a PHP content management system, Drupal on a apache 2.2 server. For the moment we use a Drupal add on that uses the webserver's own authentication. So I have set up apache basic auth, and Drupal asumes that whenever a request comes with the "REMOTE_USER" variable set, the user i

Re: [us...@httpd] What is wrong with this RewriteCond?

2009-12-18 Thread Krist van Besien
On Fri, Dec 18, 2009 at 11:34 AM, Perl Whore wrote: > I read the docs for the flags and it says for [C] that if a rule is > not matched then it skips the rest of the rules. I told you my example was "advanced"... > What I'm trying to do are set individual rules for the same condition > and not

Re: [us...@httpd] What is wrong with this RewriteCond?

2009-12-18 Thread Krist van Besien
Enable RewriteLog, with a high RewriteLogLevel. That way you see in great detail exactly what is happening. You'll see what matches are tried, against what strings, what matches are successfull, what rules are considered. Etc... BTW, but this is advanced stuff, there is a trick to make whole bloc

Re: [us...@httpd] Enabling SSL on a virtual host

2009-12-16 Thread Krist van Besien
On Tue, Dec 15, 2009 at 5:37 PM, Jonathan Mast wrote: > I'm thinking that the host name actually is required in the VirtualHost No it is not required. A hostname in a VirtualHost directive is internally converted to an IP address and only needed if this VirtualHost needs to be bound to a particu

Re: [us...@httpd] rewriterules

2009-12-16 Thread Krist van Besien
On Wed, Dec 16, 2009 at 11:24 AM, Rabadan Palenque, Jose wrote: > Hi, > > Whit the help of other member of the list (Antonio) I understood rewriterules > is not what I need, the best option is mod_proxy mod:proxy is one way, and mod_rewrite another. Basically mod_proxy is for simple cases, but f

Re: [us...@httpd] rewriterules

2009-12-16 Thread Krist van Besien
On Mon, Dec 14, 2009 at 12:51 PM, Rabadan Palenque, Jose wrote: >         RewriteRule ^/(.*) > http://ploneserver:8080/VirtualHostBase/https/%{SERVER_NAME}:443/$1 [P] It is perfectly possible to use RewriteRules to proxy a particular URL to another server. And the general pattern is indeed:

Re: [us...@httpd] Re: Building Apache 2.2 without IPv6

2009-12-07 Thread Krist van Besien
On Sun, Dec 6, 2009 at 12:49 PM, Tom Evans wrote: > "Hello, I'd like to stop receiving messages about Christianity" > "Ooh, no, you just dont understand how great Christianity is going to > be for you..." How about someone asking "I'm looking for an alternative to Christianity because I want to

Re: [us...@httpd] multiple rewrite rules

2009-12-06 Thread Krist van Besien
On Mon, Dec 7, 2009 at 7:32 AM, Jeff Shearer wrote: > Thanks for your excellent explanation. > > I have used the book "The Definitive Guide to mod_rewrite" by Rich Bowen.  Do > you recommend a different reference? I don't know about this book. All I know about mod_rewrite I have from the officia

Re: [us...@httpd] multiple rewrite rules

2009-12-06 Thread Krist van Besien
On Sun, Dec 6, 2009 at 9:08 PM, Jeff Shearer wrote: >  I have been trying without success to rewrite multiple css files with on > RewriteCond.  Here is my latest attempt to give y'all an idea of what I am > trying to do. I have the impression that you are unware how rewriteconds and rewriterule

Re: [us...@httpd] HTTPS connections via mod_proxy ProxyRemote don't work

2009-12-04 Thread Krist van Besien
On Fri, Dec 4, 2009 at 6:27 AM, Devraj Mukherjee wrote: > Any ideas if I need to do something special when using ProxyRemote and HTTPS? I asume that since your revers proxy does some content mangling that your clients talk plain http to your proxy? A few thinks to look at: - Does your Squid pro

Re: [us...@httpd] Building Apache 2.2 without IPv6

2009-12-04 Thread Krist van Besien
On Fri, Dec 4, 2009 at 9:30 AM, Daniel Reinhardt wrote: > Actually it has everything to do with it.  IPv6 is useless to me on a small > HOME LAN of 5 computers.  It should be disabled by default, and an allowable > option by those who wish to use IPv6.  It shouldn't be forced down peoples > throa

Re: [us...@httpd] Building Apache 2.2 without IPv6

2009-12-03 Thread Krist van Besien
On Thu, Dec 3, 2009 at 5:41 PM, Daniel Reinhardt wrote: > Krist, > > First of all I came here for help with disabling IPv6 not a testimony from > other users on how useful it is for a small LAN. > > Give me one good reason why IPv6 is useful for a small home LAN where I can > use 192.168.0.0/16 an

Re: [us...@httpd] Building Apache 2.2 without IPv6

2009-12-02 Thread Krist van Besien
On Thu, Dec 3, 2009 at 6:43 AM, Daniel Reinhardt wrote: > All, > > I want to build Apache 2.2.14 without any referrence to IPv6. I have removed > IPv6 support from the Kernel, because I find it useless on a small home LAN. > > How would I tell apr to leave out IPv6 when compiling? The first quest

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-12-01 Thread Krist van Besien
You seem to be a bit confused about how to configure name based virtual hosts.. On Tue, Dec 1, 2009 at 10:53 AM, J. Bakshi wrote: > ` ` ` ` > Listen 443 > NameVirtualHost  example1.de:443 > > > SSLEngine on > SSLCipherSuite HIGH:MEDIUM > SSLProtocol all -SSLv2 > SSLCertificateFile /etc/apache

Re: [us...@httpd] how to get multiple SSL with name based vhost ?

2009-11-30 Thread Krist van Besien
On Tue, Dec 1, 2009 at 5:11 AM, J. Bakshi wrote: > Dear list, > > I have multiple name based vhost at my remote server.  If I followed the > same configuration for SSL and  it does not work. Even not found any > code through google which acn do the job.   I have found it is possible > to define on

Re: [us...@httpd] Re: When it rains it pours...

2009-11-27 Thread Krist van Besien
On Fri, Nov 27, 2009 at 4:51 PM, André Warnier wrote: > Please don't.  It was an entertaining story, better than many on this list. Well, It was a strange feeling to basically press enter to complete a command, and as a result see all the lights go out... -- krist.vanbes...@gmail.com kr..

Re: [us...@httpd] When it rains it pours...

2009-11-27 Thread Krist van Besien
On Fri, Nov 27, 2009 at 4:59 PM, Evan Platt wrote: > I worked at a company once that had a coffee machine in the > 'breakroom' which was right outside the door of the 2 bathrooms - > where there was a sink and microwave and coffee pot. One day at a > company meeting, someone mentioned it was about

[us...@httpd] Re: When it rains it pours...

2009-11-27 Thread Krist van Besien
I really should not have two mailing lists with adresses starting with "us...@...". Sorry list. (Or how do I disable email completion in Gmail.) - The official User-To-User support forum of the Apache HTTP Server Project. See htt

[us...@httpd] When it rains it pours...

2009-11-27 Thread Krist van Besien
So I get a call from one of our developpers. Turns out that the "UT" interface wasn't working properly anymore. The UT interface is basically a SOAP service running on a Tomcat instance. The purpose it to allow smartphones to do things like get Call History etc.. by sending Soap requests to this in

Re: [us...@httpd] installing apache on amazon ec2 instance

2009-11-23 Thread Krist van Besien
On Sat, Nov 21, 2009 at 1:04 AM, Daniel Shapiro wrote: > Running on Debian linux: > > I have been having trouble installing/running apache on an instance of an > amazon cloud ec2 machine. > Wondering if installation is badly done, or configs not set up, or if its a > function of the virtual natu

Re: [us...@httpd] Re: Apache error if using Basic AuthType under Location directive

2009-11-16 Thread Krist van Besien
On Mon, Nov 16, 2009 at 10:53 AM, André Warnier wrote: > LuKreme wrote: > ... > >> >> To do hat you want though, the simplest solution is to put a htaccess file >> in the folder you want to protect. >> > No, it is not, because in the OP's case there is not really a directory to > protect and to pu

Re: [us...@httpd] cannot install a SSL certificate : any idea folks ? Thanks

2009-11-16 Thread Krist van Besien
On Mon, Nov 16, 2009 at 8:05 AM, sieger...@gmail.com wrote: > I'm trying to figure out why I cannot install a SSL certificate that I'd > been given. What did you exactly do, and what error messages did you receive, what problems do you have? Just telling us that you have a problem is not really

Re: [us...@httpd] RewriteBase is not working in apache configuration file

2009-11-16 Thread Krist van Besien
On Mon, Nov 16, 2009 at 8:17 AM, J. Bakshi wrote: > > Thanks a lot to clarify it. I was banging my head with it.  Is there any > alternative to force document root in side then ? Actually I > need to run some experimental sites from a location which is totally > different from main apache documen

Re: [us...@httpd] RewriteBase is not working in apache configuration file

2009-11-15 Thread Krist van Besien
On Mon, Nov 16, 2009 at 5:27 AM, J. Bakshi wrote: > Hello, > > RewriteBase is working perfectly OK in .htaccess but not in apache > configuration file.  Do we need any special syntax to make it working in > apache configuration file ? You don't need RewriteBase in your apache configuration file.

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-14 Thread Krist van Besien
On Fri, Nov 13, 2009 at 7:58 PM, Randy Paries wrote: > On Fri, Nov 13, 2009 at 12:26 PM, Krist van Besien > wrote: >> On Fri, Nov 13, 2009 at 6:14 PM, Randy Paries wrote: >>> also i have this in my httpd >>> NameVirtualHost 216.186.190.101:80 >>

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-13 Thread Krist van Besien
On Fri, Nov 13, 2009 at 6:14 PM, Randy Paries wrote: > also i have this in my httpd > NameVirtualHost 216.186.190.101:80 > NameVirtualHost 216.186.190.106:80 > NameVirtualHost 216.186.190.101:443 You probably don't need these. I asume you have your one SSL host on 216.186.190.101 and another on

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-13 Thread Krist van Besien
On Fri, Nov 13, 2009 at 4:40 PM, Randy Paries wrote: > On Fri, Nov 13, 2009 at 1:29 AM, Krist van Besien > this is how i have it set up. > when i generate the CSR do i need to do something special to bind the > CSR to a specific IP? No. > > >    ServerAdmin

Re: [us...@httpd] apache with 2 SSL Certs Problem

2009-11-12 Thread Krist van Besien
On Fri, Nov 13, 2009 at 3:15 AM, Randy Paries wrote: > Hello, > i have a box with two domains > CentOS release 5.3 > Server version: Apache/2.2.3 > > initially the box only had one IP and domain. > > I went and got a SSL cert for that domain and everything was fine. > > i then went and added a sec

Re: [us...@httpd] Apache Server as Forward Proxy - how to make https and others work?

2009-11-12 Thread Krist van Besien
On Thu, Nov 12, 2009 at 3:28 PM, Panidhar Kunchala wrote: > Hi, >  I'm using Apache HTTP server as forward proxy by adding the following lines > in httpd.conf: > > > ProxyRequests On > > >     Order deny,allow >     Allow from all > > > > > This works perfectly fine for http traffi. But when I

Re: [us...@httpd]

2009-11-11 Thread Krist van Besien
On Wed, Nov 11, 2009 at 10:21 PM, Stephen Love wrote: > Then it becomes impossible to know if a page REALLY exists or if my emails > are going where intended, or coming from where stated... so am I to assume > that traffic addressing in general has FAILED? No, You are to asume that you need an ed

Re: [us...@httpd] A common problem with no help or solution ?

2009-11-08 Thread Krist van Besien
On Fri, Nov 6, 2009 at 5:26 PM, Phil Pinkerton wrote: > this was the prior output > > make: Fatal error: Command failed for target `install-recursive' > Current working directory /svn/src/httpd-2.2.14/modules/aaa Are you running make as root? Krist -- krist.vanbes...@gmail.com kr...@vanbesien.

Re: [us...@httpd] How to Redirect to https after login?

2009-10-30 Thread Krist van Besien
On Thu, Oct 29, 2009 at 2:19 PM, Octavian Râsnita wrote: >> That's a rather odd requirement. Normally the requirement is to be >> redirected to https _before_ logging in. It is, after all, the login >> data, that you need to protect. >> > > Isn't OK if the login form uses an action="https://...";

[us...@httpd] Re: Mordac is working for our company...

2009-10-30 Thread Krist van Besien
Oops. Wrong list... -- krist.vanbes...@gmail.com kr...@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? ---

[us...@httpd] Mordac is working for our company...

2009-10-30 Thread Krist van Besien
For those who don't know who Mordac the Preventer is: http://dilbert.com/strips/comic/2007-11-16/ I'm "SPOC" this week. Single Point Of Contact. That means that all issues first land on my desk. One of our Windows Sysadmins (the unfortunate guys looking after our IP TV infrastructure management

Re: [us...@httpd] How to Redirect to https after login?

2009-10-29 Thread Krist van Besien
On Thu, Oct 29, 2009 at 11:46 AM, ericdraven wrote: > > Hello, > > I need some expert help on the following configuration task: > > I have a startpage with a standard login form. After a user logs in, he > should be > redirected to use https for the rest of the session. That's a rather odd requir

Re: [us...@httpd] mod_proxy+mod_rewrite: hiding redirection

2009-10-28 Thread Krist van Besien
On Tue, Oct 27, 2009 at 10:55 PM, Marcos Mendez wrote: > I'm using mod_proxy/mod_rewrite to redirect requests to a specific > script which handles them. For example: > > > RewriteEngine on > RewriteCond %{HTTP_HOST} !^123.123.123.123 [NC] > RewriteRule $(.+) http://123.123.123.123/myscript?url=%{

Re: [us...@httpd] apache 2.2.13 ssl problem: wrong certificate being served

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 7:55 PM, Eric Covener wrote: > On Tue, Oct 27, 2009 at 2:50 PM, Krist van Besien > wrote: >> On Tue, Oct 27, 2009 at 7:41 PM, Joseph S wrote: >> >> >>> Now here's the kicker: When I click through the warning in Firefox my logs

Re: [us...@httpd] apache 2.2.13 ssl problem: wrong certificate being served

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 7:41 PM, Joseph S wrote: > Now here's the kicker: When I click through the warning in Firefox my logs > show that I am going to the second virtual host, the one with the > that *.a certificate, even though I'm using the *.* certificate.  So how is > it apache is sending m

Re: [us...@httpd] redirect occurs after authorization !!!

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 11:33 AM, J. Bakshi wrote: > ``` >  access to /usr/lib/cgi-bin/viewvc.cgi failed, reason: SSL connection > required > ``` > > This is ok as redirection is not working here. Do you have any idea ? My > previous config w

Re: [us...@httpd] redirect occurs after authorization !!!

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 11:33 AM, J. Bakshi wrote: > ``` >  access to /usr/lib/cgi-bin/viewvc.cgi failed, reason: SSL connection > required > ``` > > This is ok as redirection is not working here. Do you have any idea ? My > previous config w

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 11:15 AM, André Warnier wrote: > Well, kind of, but one could argue about this. ;-) > It seems to me that we are just at the grey line in-between here. > Maybe I should have added one more HTTP VirtualHost in my example, just to > settle it. It doesn't harm to have this

Re: [us...@httpd] redirect occurs after authorization !!!

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 7:37 AM, J. Bakshi wrote: > Hello list, > > I have finally able to redirect the viewvc ( svn viewer ) to https. here > is the configuration > > `` > ScriptAlias /test  /usr/lib/cgi-bin/viewvc.cgi > > > RewriteEngine   on > RewriteCond %{HTTPS} o

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-27 Thread Krist van Besien
On Tue, Oct 27, 2009 at 7:28 AM, André Warnier wrote: > Krist van Besien wrote: >> >> On Mon, Oct 26, 2009 at 9:01 PM, André Warnier wrote: >>> >>> The other way I could think of would be to use virtual hosts, like >>> >>> Listen 80 HTT

Re: [us...@httpd] Enabling HTTP and HTTPs

2009-10-26 Thread Krist van Besien
On Mon, Oct 26, 2009 at 9:01 PM, André Warnier wrote: > > The other way I could think of would be to use virtual hosts, like > > Listen 80 HTTP > Listen 443 HTTPS > > NameVirtualHost *:80 > > ... > > > NameVirtualHost *:443 > > ... (SSL-based config) > You don't need the NameVirtualHost direc

Re: [us...@httpd] mod_rewrite, mod_proxy and AAA

2009-10-25 Thread Krist van Besien
On Sun, Oct 25, 2009 at 12:12 PM, André Warnier wrote: > Similarly, the doc. for ProxyPass indicates : > Context:        server config, virtual host, directory > > Does the above mean that they apply also to a section ? You can use Proxy and ProxyPass directives in a container, but the syntax

  1   2   3   4   5   6   7   8   >