Re: [users@httpd] Using environment variables in mod_substitute

2018-01-02 Thread Roy Teeuwen
Hey all, Just as heads up, I did try your mod_line_edit @Nick for this purpose, and that one does work easily in Apache 2.2: LoadModule line_edit_modulemodules/mod_line_edit.so LERewriteRule "

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-31 Thread Roy Teeuwen
Redhat 7 and Apache 2.4 in the middle of next year. Thanks a lot though! will definitely try it out. I will see if I can get it back-ported to the 2.2 module. Greets, Roy > On 31 Dec 2017, at 17:11, Eric Covener wrote: > > On Sun, Dec 31, 2017 at 10:59 AM, Luis Speciale wrote: >>

[users@httpd] Writing and debugging Apache modules on a macOS with preferably Docker containers.

2017-12-30 Thread Roy Teeuwen
mac. - Preferably run the Apache on a docker container as to have a clean Apache instead of the system one from macOS. - Be able to (remote) debug the Apache module from the visual editor. It is this last step that I am mostly asking any guidance for, is this even plausible? Thanks! Roy

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-30 Thread Roy Teeuwen
situation the nonce attribute would have to be already in the html from the application, with possibly a token to be able to match it. Greets, Roy > On 30 Dec 2017, at 01:36, Nick Kew wrote: > > On Fri, 29 Dec 2017 22:39:11 +0100 > Roy Teeuwen wrote: > >> - I have an applic

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-29 Thread Roy Teeuwen
t the id just changes marginally little) => This id is set as nonce on the Content-Security-Policy header => Regex to set this nonce on all the script tags Greets, Roy > On 29 Dec 2017, at 22:28, Nick Kew wrote: > > On Fri, 29 Dec 2017 19:05:39 +0100 > Roy Teeuwen wrote: > >

[users@httpd] Using environment variables in mod_substitute

2017-12-29 Thread Roy Teeuwen
giving an answer to the actual question https://www.spinics.net/lists/apache-users/msg116127.html Thanks! Roy

Re: [users@httpd] Re: Logs: How to find 403 forbidden error.

2016-04-08 Thread Francis Roy
On 16-04-08 08:06 PM, Jonesy wrote: Could it be possible that the plugin is getting a 403 from an_external_ fetch attempt? I.e., the 403 is in the logs of a server somewhere else on the planet. Yes, in fact, this is very possible. It is a third-party program making a direct request. Would a

[users@httpd] Logs: How to find 403 forbidden error.

2016-04-08 Thread Francis Roy
I have a user that is complaining that a PHP script (a Wordpress plugin) is complaining that there's a 403 error. I've looked in my logs and can't find it. Maybe I'm doing it wrong. My logs are at /var/log/httpd and I'm looking at both access_log and error_log (or some of the preceding ones.)

Re: [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Francis Roy
On 16-03-09 09:47 PM, Kurtis Rader wrote: On Wed, Mar 9, 2016 at 6:38 PM, Francis Roy mailto:li...@unimportantstuff.com>> wrote: Thank you that answers my question quite nicely. It's not a giant flag waving at the internet, but if someone got a hold of my machine directl

Re: [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Francis Roy
On 16-03-09 09:29 PM, Kurtis Rader wrote: On Wed, Mar 9, 2016 at 6:17 PM, Francis Roy Probably not but it's not the sort of question anyone can answer without spending a few days reviewing your situation. The reason most UNIX distros create the home directory for a user with mode 75

Re: [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Francis Roy
On 16-03-09 08:44 PM, Eric Covener wrote: If you want to serve out of your home directory, it needs to be executable by "other". Thank you, Eric and Kurtis, both. That was the problem. I did the following: sudo chmod 755 /home/username If I may, a follow-up question: does this create a po

[users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Francis Roy
Hello everyone, I hope you can help a semi-experienced Windows apache user, new to Linux. I am unable to access files (anything) from http://localhost or from any of my vhosts. This is a new install of Linux Mint 17.x with the default Apache/2.4.7 (Ubuntu) install at /etc/apache2 My websi

FW: Re: FW: [users@httpd] Help with Virtual Hosting on Linux 3.2 / Ubuntu 12.04.4

2014-04-25 Thread Roy Hinkelman - Technical Services
; in "service apache2 restart", which seemed to work. There are obviously several ways to do vhosts. Are there advantages/disadvantages to this method? If it is relevant, I need to have multiple sites on this server, each with their own config, and some with their own SSL. Thank

FW: [users@httpd] Help with Virtual Hosting on Linux 3.2 / Ubuntu 12.04.4

2014-04-25 Thread Roy Hinkelman - Technical Services
quot;Unable to Connect" Here, http://www.rackspace.com/knowledge_center/article/ubuntu-apache-virtual-hosts , it says to put individual VirtualHosts in sites-available, and does not talk about httpd.conf. Any help greatly appreciated. Thanks, Roy

[users@httpd] Help with Virtual Hosting on Linux 3.2 / Ubuntu 12.04.4

2014-04-18 Thread Roy Hinkelman - Technical Services
vice apache2 restart +++++ Thanks, Roy Hinkelman Technical Services World Trade Press 707-774-7411 r...@worldtradepress.com www.WorldTradePress.com (main website)

[users@httpd] (20014)Internal error: proxy: error reading status line from remote server

2013-05-10 Thread Ravi Roy
Hi List, I'm using Apache 2.2.11 on CentOS, arch - x86 as write-through subversion proxy. Server version: Apache/2.2.11 (Unix) Server built: Apr 10 2010 16:04:54 I have started getting the following error for last few days, which I really find strange : (20014)Internal error: proxy: error re

[users@httpd] Rewrite rule redirection from http to https does not work.

2013-05-02 Thread Ravi Roy
Hi Guys, My configuration is Apache/2.2.23 on CentOS x86_64, running Subversion server. Recently I installed SSL certificates and I want to redirect all request comming to http://myhostname.domain.com/svn/reponame to be redirected to https://myhostname.domain.com/svn/reponame automatically. This c

Re: [users@httpd] Adding a query with rewrite

2012-10-19 Thread Roy
After much experimentation, I got it! RewriteEngine On RewriteCond %{REQUEST_URI} ^/([a-zA-Z]+)\/([^\/]+)\/(.{0})$ RewriteRule / /mydir?topic=%2 [L] Roy From: Roy Sent: Tuesday, October 16, 2012 3:16 PM To: users@httpd.apache.org Subject: [users@httpd] Adding a query with rewrite This is on

[users@httpd] Adding a query with rewrite

2012-10-16 Thread Roy
1 [L,R=301] but it still gets mysite/mydir/xxx/index.html instead ofmysite/mydir/index.php?topic=xxx access.log shows: "GET /mydir/xxx HTTP/1.1" 301 239 "GET /mydir/xxx/ HTTP/1.1" 200 4831 Could you point out my errors, please? Roy Leroux

RE: [users@httpd] Configuring MOD_SSL with and without client auth on the same box

2011-04-21 Thread Debashis Roy
, 2011 6:06 , Debashis Roy wrote: I would like to configure two different context roots with MOD_SSL in Apache Httpd, such that one is authenticated using client certificate and the other one does not require SSL client authentication. Each of these two context roots are eventually delegated

[users@httpd] Configuring MOD_SSL with and without client auth on the same box

2011-04-20 Thread Debashis Roy
Hi, I would like to configure two different context roots with MOD_SSL in Apache Httpd, such that one is authenticated using client certificate and the other one does not require SSL client authentication. Each of these two context roots are eventually delegated MOD_PROXY_AJP two different ba

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-04 Thread Ravi Roy
On Sat, Apr 3, 2010 at 8:35 PM, alin vasile wrote: > yes, should be enough. > > have you tried killing the running process that listens to that port and > start apache again? > Yes, tried, but same error. Thanks! -RR

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-03 Thread Ravi Roy
On Sat, Apr 3, 2010 at 8:10 PM, Ravi Roy wrote: > > > On Sat, Apr 3, 2010 at 5:02 PM, alin vasile wrote: > >> Are you sure that you have the permisson to listen on port 80? >> > > > User logged in (current user) in the system is part of sudoers. I think > t

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-03 Thread Ravi Roy
On Sat, Apr 3, 2010 at 5:02 PM, alin vasile wrote: > Are you sure that you have the permisson to listen on port 80? > User logged in (current user) in the system is part of sudoers. I think that is sufficient ? Thanks. -RR

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Ravi Roy
On Sat, Apr 3, 2010 at 9:55 AM, Nilesh Govindarajan wrote: > On 04/03/10 09:38, Ravi Roy wrote: > > >> >> >>Try using the /sbin/service command instead of this. >> >>Also, your httpd is self compiled or installed using yum ? >> >>

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Ravi Roy
On Sat, Apr 3, 2010 at 9:13 AM, Nilesh Govindarajan wrote: > On 04/03/10 07:53, Ravi Roy wrote: > >> >> >> On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan > <mailto:li...@itech7.com>> wrote: >> >>On 04/02/10 21:52, Ravi Roy wrote: >>

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Ravi Roy
On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan wrote: > On 04/02/10 21:52, Ravi Roy wrote: > >> Hi >> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when >> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd start / >>

[us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Ravi Roy
Hi I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when I try to start and stop it using "sudo /etc/rc.d/init.d/httpd start / stop / restart" It gives me the following, I googgled a lot but could not really find a solution. 1.Command : $ sudo /etc/rc.d/init.d/httpd start Error

[us...@httpd] IP v6 configuration for apache httpd

2009-04-02 Thread Sourashis Roy
Hi, We are trying to configure apache load-balancer for an IPV6 network. What changes are required? For that we tried modifying httpd.conf file with IPV6 addresss like [ipv6 address] (We enclosed ipv6 address in square brackets.) but this doesn't seem to work. :( where are we going wrong?

[EMAIL PROTECTED] mod_dbd and example

2008-05-14 Thread Roy Kartadinata
Hi all, I'm trying to use mod_dbd to retrieve data based on user's IP address and use that data for a customized http request header using mod_headers, but can't seems to get dbd to work and I can't find any good example on mod_dbd usage anywhere. This apache is setup for proxy using mod_proxy

RE: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Alastair Roy
This sounds like a firewall problem, do you have a firewall installed on the PC, check if this is maybe blocking port 80 From: Rich Bowen [mailto:[EMAIL PROTECTED] Sent: 22 April 2008 16:11 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] The simplest of questions ... On Apr 22

Re: [EMAIL PROTECTED] Authenticating Proxy Server

2008-04-17 Thread Roy Pearce
Hi Nick, Thanks for your comments. Nick Kew wrote: On Tue, 15 Apr 2008 15:19:01 +0100 Roy Pearce <[EMAIL PROTECTED]> wrote: The browser appears not to like talking to an SSL-enabled proxy server. Sounds to me like a browser misconfiguration. All I changed was the port

Re: [EMAIL PROTECTED] Authenticating Proxy Server

2008-04-15 Thread Roy Pearce
this authenticating proxy server. The browser appears not to like talking to an SSL-enabled proxy server. Doing this was a stab in the dark! A guess, if you like and it's possibly a forlorn hope. Are there other ways to transmit the credentials in an encrypted manner rather than in plain text? Reg

[EMAIL PROTECTED] Authenticating Proxy Server

2008-04-15 Thread Roy Pearce
problem. Can anyone comment or advise on the core issue of how one may transmit authenticating information in a secure manner. Thanks very much. Roy Pearce Enterprise Systems Support Team Computing Systems University of Birmingham UK -

[EMAIL PROTECTED] Is there a way to call mod_dbd methods using mod_python?

2007-07-07 Thread Roy H. Han
Hi, Is there a way to call mod_dbd methods in Python using mod_python? I'm trying to figure out how to use mod_dbd's connection pooling feature. Thanks, RHH

Re: [EMAIL PROTECTED] VHOST and SSL

2007-06-07 Thread Sebastien Roy
lient attempts to continue with the connection and sends the HTTPS request with the URL and Host header, what happens at that point is up to the server. What currently happens and what do you want to happen? Allen -Original Message- From: Sebastien Roy [mailto:[EMAIL PROTECTED] Sent: Thu

[EMAIL PROTECTED] VHOST and SSL

2007-06-07 Thread Sebastien Roy
Hi folks, We are running Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.8b DAV/2 PHP/5.1.4 and everything is working perfectly except one thing and I'm sure it's a configuration problem. We have some domains that have SSL certificate and some not. My problem is very simple, what i'm doing wr

[EMAIL PROTECTED] htaccess

2005-10-31 Thread Alastair Roy
Ladies and gentlemen please if you can be of any assistance I would appreciate it. The problem is htaccess or my lack of understanding thereof I have set it up on a directory but when I try to access the directory I DO NOT get challenged for a password I just get the forbidden message in my web br